Jorge Pinna Puissant
ed5ab19065
[FIX] resource: week_type for new periods
...
In a calendar with 2 weeks mode (odd and even), before this commit, all
new created periods (placed in one of the two sections) don't have the
week_type field set. This generates a confusion, because a period that
should be applied only in odd weeks, for instance, it was applied also
in the even weeks.
Now, the new periods will have the week_type field set with the
week_type of the section where is it. Also, an error message is raised
if a period is not in one of the two sections.
opw-2239966
closes odoo/odoo#50478
X-original-commit: 33a62118818952872321591e85403b657380128a
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com >
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com >
2020-04-30 13:53:17 +00:00
..
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2019-09-01 01:28:13 +02:00
2018-12-02 01:25:05 +01:00
2018-10-11 09:49:01 +00:00
2018-09-23 02:29:29 +02:00
2018-11-11 01:26:46 +01:00
2019-09-15 01:30:37 +02:00
2019-10-01 21:21:46 +02:00
2019-09-01 01:28:13 +02:00
2018-09-23 02:29:29 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2019-09-22 01:19:57 +02:00
2018-11-11 01:26:46 +01:00
2018-10-11 09:49:01 +00:00
2018-09-23 02:29:29 +02:00
2018-09-23 02:29:29 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2019-09-15 01:30:37 +02:00
2018-10-11 09:49:01 +00:00
2018-09-23 02:29:29 +02:00
2019-09-29 01:22:33 +02:00
2018-10-11 09:49:01 +00:00
2019-09-22 01:19:57 +02:00
2019-09-01 01:28:13 +02:00
2018-10-11 09:49:01 +00:00
2018-11-11 01:26:46 +01:00
2019-10-07 09:11:11 +02:00
2018-10-14 01:23:43 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-09-23 02:29:29 +02:00
2018-11-18 01:28:38 +01:00
2019-09-15 01:30:37 +02:00
2018-10-11 09:49:01 +00:00
2019-09-01 01:28:13 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2019-09-22 01:19:57 +02:00
2019-09-01 01:28:13 +02:00
2018-10-11 09:49:01 +00:00
2019-09-01 01:28:13 +02:00
2019-09-22 01:19:57 +02:00
2019-09-01 01:28:13 +02:00
2019-10-07 09:11:11 +02:00
2020-04-30 13:53:17 +00:00
2019-10-07 09:11:11 +02:00
2019-09-01 01:28:13 +02:00
2018-10-21 01:25:56 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-09-23 02:29:29 +02:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-10-11 09:49:01 +00:00
2018-11-18 01:28:38 +01:00
2019-09-29 01:22:33 +02:00
2019-10-01 21:21:46 +02:00
2019-09-15 01:30:37 +02:00
2019-09-22 01:19:57 +02:00
2019-09-01 01:28:13 +02:00