From e6d4bdf72b0574ee6f70ca6021676fa3737a054a Mon Sep 17 00:00:00 2001 From: jem-odoo Date: Mon, 6 Nov 2017 16:39:30 +0100 Subject: [PATCH] [FIX] resource: avoid duplicate attendances when updating module Since some calendar are in data, and their attendances in an 'eval' with '0' ORM command, we need to put them in noupdate mode to avoid duplicating attendances when we update the module. --- addons/resource/data/resource_data.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/resource/data/resource_data.xml b/addons/resource/data/resource_data.xml index 81ccf1c1496..bcfd2c91446 100644 --- a/addons/resource/data/resource_data.xml +++ b/addons/resource/data/resource_data.xml @@ -1,5 +1,8 @@ + + + Standard 40 Hours/Week @@ -14,6 +17,9 @@ name="_init_data_resource_calendar" eval="[]"/> + + + Standard 35 Hours/Week @@ -53,4 +59,6 @@ /> + +