From 76264db40b177df5ec8f8675bae5c9ee349e0478 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Fri, 29 Mar 2019 09:51:11 +0000 Subject: [FIX] project: remove old hack This code was to be removed in saas-7 (which went the way of the dodo) project_time_mode_id is now only on hr_timesheet This was creating an ir.model.data entry with res_id=0 (not record found). A ir.model.data without id triggers a warning in the trans_generate method when trying to export the translations of the module project (where the reference fails to be resolved) --- addons/project/data/project_data.xml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'addons/project/data/project_data.xml') diff --git a/addons/project/data/project_data.xml b/addons/project/data/project_data.xml index ff624b5a232..33535f15c19 100644 --- a/addons/project/data/project_data.xml +++ b/addons/project/data/project_data.xml @@ -2,16 +2,6 @@ - - - - ir.model.fields - project - project_time_mode_id_duplicate_xmlid - True - - Project: Send rating -- cgit v1.2.3