[IMP] hr_timesheet: prevent adding new timesheets to project sharing
task-2895909 closes odoo/odoo#102633 X-original-commit: 742a4444a88a65fce2d2cdd5be18ffc51b2d1961 Related: odoo/enterprise#32499 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</group>
|
||||
<field name="timesheet_ids" mode="tree,kanban"
|
||||
attrs="{'invisible': [('analytic_account_active', '=', False)]}">
|
||||
<tree string="Timesheet Activities" default_order="date" no_open="1">
|
||||
<tree string="Timesheet Activities" default_order="date" no_open="1" create="false">
|
||||
<field name="date"/>
|
||||
<field name="employee_id"/>
|
||||
<field name="name"/>
|
||||
|
||||
Reference in New Issue
Block a user