[FIX] sale_timesheet: allow billing user in journal entries
Since a timesheet is an analytic line, access rights are mixed for timesheet manager and billing user, when hr_timesheet is installed. Group mecanism use logical 'OR' between none global rules, so timesheet access restrict the one of billing user. The ir.rule of sale_timesheet tries to restore the access of billing user (which can thus modified timesheet. This point is unfixable, unfortunately). This commit completely restore (even for 'read' access) the rule for billing user, otherwise such user can not validate an invoice if they are timesheet user. opw-2001421 closes odoo/odoo#33575 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
This commit is contained in:
committed by
Julien Castiaux
parent
d92e0cb1cf
commit
937d929b74
@@ -11,7 +11,7 @@
|
||||
<field name="perm_create" eval="1"/>
|
||||
<field name="perm_write" eval="1"/>
|
||||
<field name="perm_unlink" eval="1"/>
|
||||
<field name="perm_read" eval="0"/>
|
||||
<field name="perm_read" eval="1"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user