Skip to content

12.0-backport-refactor-begin-end-2024-10-09.00

Compare
Choose a tag to compare
@huguesdk huguesdk released this 09 Oct 12:50
14c76a7
[REF] hr_timesheet_activity_begin_end: Make more extensible

The separation of checks into separate methods is needed because I want
to disable one check in another module. This makes the module more
extensible.

The unit_amount_from_start_stop method also makes the module more
extensible.

I have also moved the onchange to the top of the file, according to the
OCA contribution guidelines.

Signed-off-by: Carmen Bianca BAKKER <[email protected]>