odoo-addon-openupgrade-scripts 17.0.1.0.1.33__py3-none-any.whl → 17.0.1.0.1.34__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/post-migration.py +17 -0
- odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/pre-migration.py +16 -0
- odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/upgrade_analysis_work.txt +21 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.33.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.33.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info}/RECORD +7 -4
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.33.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.33.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
_deleted_xml_records = [
|
7
|
+
"resource.resource_calendar_std_35h",
|
8
|
+
"resource.resource_calendar_std_38h",
|
9
|
+
]
|
10
|
+
|
11
|
+
|
12
|
+
@openupgrade.migrate()
|
13
|
+
def migrate(env, version):
|
14
|
+
openupgrade.delete_records_safely_by_xml_id(
|
15
|
+
env,
|
16
|
+
_deleted_xml_records,
|
17
|
+
)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
openupgrade.set_xml_ids_noupdate_value(
|
10
|
+
env,
|
11
|
+
"resource",
|
12
|
+
[
|
13
|
+
"resource_calendar_std",
|
14
|
+
],
|
15
|
+
True,
|
16
|
+
)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---Models in module 'resource'---
|
2
|
+
---Fields in module 'resource'---
|
3
|
+
resource / resource.calendar / hours_per_day (float) : now a function
|
4
|
+
# Nothing To Do, compute non-stored
|
5
|
+
|
6
|
+
resource / resource.calendar.attendance / _order : _order is now 'sequence, week_type, dayofweek, hour_from' ('week_type, dayofweek, hour_from')
|
7
|
+
# Nothing To Do, default order when search
|
8
|
+
|
9
|
+
resource / resource.calendar.attendance / day_period (selection) : selection_keys is now '['afternoon', 'lunch', 'morning']' ('['afternoon', 'morning']')
|
10
|
+
# Nothing To Do, new option: lunch
|
11
|
+
|
12
|
+
resource / resource.calendar.attendance / duration_days (float) : NEW hasdefault: compute
|
13
|
+
# Nothing To Do, no need precomputation
|
14
|
+
|
15
|
+
---XML records in module 'resource'---
|
16
|
+
resource.calendar: resource.resource_calendar_std (noupdate) (noupdate switched)
|
17
|
+
# DONE: switched noupdate
|
18
|
+
|
19
|
+
DEL resource.calendar: resource.resource_calendar_std_35h (noupdate)
|
20
|
+
DEL resource.calendar: resource.resource_calendar_std_38h (noupdate)
|
21
|
+
# DONE: safely delete in post-migration
|
@@ -406,7 +406,10 @@ odoo/addons/openupgrade_scripts/scripts/rating/17.0.1.1/upgrade_analysis.txt,sha
|
|
406
406
|
odoo/addons/openupgrade_scripts/scripts/rating/17.0.1.1/upgrade_analysis_work.txt,sha256=AG_gRxWXjup776lKThpZ4499ojtMVej_7cT_1LN9xr0,1990
|
407
407
|
odoo/addons/openupgrade_scripts/scripts/repair/17.0.1.0/noupdate_changes.xml,sha256=SsODI46tUtKZGQdz1meM6VsGmT_udVIzdxrWu34fPEs,202
|
408
408
|
odoo/addons/openupgrade_scripts/scripts/repair/17.0.1.0/upgrade_analysis.txt,sha256=9nq-cpzaimD41mz-A6Y30DYJmblITlWDqShK6AYvufg,9290
|
409
|
+
odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/post-migration.py,sha256=WyZ_LtqxscUMf_J7-iANYC0xKxu4ROuAcJbSOPhYaPE,437
|
410
|
+
odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/pre-migration.py,sha256=JU6S2pAAe7NVlTikvyf98HzKBk0rpsptV8psPjgfhZg,382
|
409
411
|
odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/upgrade_analysis.txt,sha256=rvmI4wkqwRY0Mz3mI_oMf9DsqwKny69cgGNasFv6BpU,854
|
412
|
+
odoo/addons/openupgrade_scripts/scripts/resource/17.0.1.1/upgrade_analysis_work.txt,sha256=4PZlu1CMt097grYRprqQgGnIjBfhQGmvMD0ZXCO_KpM,1079
|
410
413
|
odoo/addons/openupgrade_scripts/scripts/sale/17.0.1.2/noupdate_changes.xml,sha256=wh7d2nRJLcvN16KYMDdTiNqRT0O8siPsNpKlyQGRNxc,13187
|
411
414
|
odoo/addons/openupgrade_scripts/scripts/sale/17.0.1.2/upgrade_analysis.txt,sha256=bzIP0uZgpiCqOmfzU1XVfmbi8wAwbA0OoNAAI2quN2w,6014
|
412
415
|
odoo/addons/openupgrade_scripts/scripts/sale_async_emails/17.0.1.0/upgrade_analysis.txt,sha256=JkvRgvp29pq_FGyqKSyInOfmQf2N9MCheOEXHc_BHfQ,361
|
@@ -509,7 +512,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
509
512
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
510
513
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
511
514
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
512
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
513
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
514
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
515
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
515
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info/METADATA,sha256=PNAjb597AOOqQO4Nhqa8vd71EA8KFx-Jy-eZPwhtfw0,3785
|
516
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
517
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
518
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.34.dist-info/RECORD,,
|
File without changes
|