Files
odoo_source/addons/hr_timesheet
Kartik Chavda eb0d81eaa7 [IMP] {hr,sale}_timesheet, _*: make separate method for access
_* = project_timesheet_holidays

Before this commit checking validation for creating and writing
on timesheet done in create and write method which makes
customization difficult for user.

So, in this commit check validation for creating and writing on
timesheet done in separate method _check_can_create and
_check_can_write respectively for timesheet.

task-2928942

closes odoo/odoo#100943

Related: odoo/enterprise#31689
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2023-01-16 11:36:49 +01:00
..
2022-09-20 12:36:01 +02:00
2022-11-15 18:25:08 +01:00