Commit Graph
3 Commits
Author SHA1 Message Date
Víctor Martínez 2ff8701447 [FIX] resource: Fix _attendance_intervals_batch for 2 weeks calendars
TT34416

X-original-commit: 50e0c7cdce146f7f25a2369edc221877e97d6a1f
Part-of: odoo/odoo#96632
2022-07-27 04:53:13 +02:00
Victor Feyens b3869ab297 [IMP] resource, hr: avoid updating resources directly after their creation
Make sure related values are correctly propagated to the
resource.resource creation, and discard the inverse update post record
creation when it doesn't change anything

closes odoo/odoo#85601

Related: odoo/enterprise#25664
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-03-29 10:56:25 +02:00
Yannick Tivisse 1da5b4e802 [IMP] resource: Move test models in their own module
Purpose
=======

When creating resources, SQL request were made to this test table.

Part-of: odoo/odoo#85133
2022-02-28 17:27:07 +00:00