[FIX] project: project_time_mode_id in debug mode

project_time_mode_id is the timesheet UoM. However, all timesheet
widgets assume that project_time_mode_id is hours, therefore it is not
supposed to be changed.
This commit is contained in:
Nicolas Martinelli
2016-01-04 14:12:53 +01:00
parent b2d92666d1
commit 2f562af355
+1 -1
View File
@@ -606,7 +606,7 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='account_grp']" position="after">
<group name="project_grp" string="Projects">
<field name="project_time_mode_id" domain="[('category_id','=', %(product.uom_categ_wtime)d)]"/>
<field name="project_time_mode_id" domain="[('category_id','=', %(product.uom_categ_wtime)d)]" groups="base.group_no_one"/>
</group>
</xpath>
</field>