[IMP] hr_timesheet: add group visibility to project's analytic_account

Task #1915660

Purpose
=======

Analytic Account field of a project should not be visible for non-members
of the "analytic.group_analytic_accounting" group.

This is now consistent with the other analytic account fields of the application.
This commit is contained in:
Aurélien Warnon
2019-03-14 14:31:04 +00:00
parent 016a99f745
commit 0af717bf0e
+1 -1
View File
@@ -46,7 +46,7 @@
<field name="allow_timesheets"/>
</xpath>
<xpath expr="//field[@name='partner_id']" position="after">
<field name="analytic_account_id"/>
<field name="analytic_account_id" groups="analytic.group_analytic_accounting" />
</xpath>
</field>
</record>