From 487a7e666d6f48be5a3c3e5e79518d5f23072906 Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Thu, 23 Jul 2020 17:06:25 +0200
Subject: [PATCH] [cgscop #235] fix modification M2o dans feuille de temps

---
 views/cgscop_timesheet_sheet.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/views/cgscop_timesheet_sheet.xml b/views/cgscop_timesheet_sheet.xml
index 88935df..5d16dcc 100644
--- a/views/cgscop_timesheet_sheet.xml
+++ b/views/cgscop_timesheet_sheet.xml
@@ -60,11 +60,11 @@
                                 <field name="employee_id" readonly="1"/>
                                 <field name="state" invisible="1"/>
                                 <field name="sheet_id" invisible="1"/>
-                                <field name="project_id"/>
-                                <field name="partner_id" />
+                                <field name="project_id" options="{'no_open': True, 'no_create': True}" />
+                                <field name="partner_id" options="{'no_open': True, 'no_create': True}"  />
                                 <field name="name"/>
                                 <field name="unit_amount" widget="float_time" />
-                                <field name="ur_financial_system_id"/>
+                                <field name="ur_financial_system_id" options="{'no_open': True, 'no_create': True}" />
                             </tree>
                         </field>
                     </sheet>
-- 
GitLab