odoo-addon-openupgrade-scripts 17.0.1.0.1.105__py3-none-any.whl → 17.0.1.0.1.107__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/purchase/17.0.1.2/post-migration.py +17 -0
- odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/pre-migration.py +14 -0
- odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis_work.txt +21 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.105.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.105.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info}/RECORD +7 -4
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.105.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.105.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.107.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
|
+
|
7
|
+
@openupgrade.migrate()
|
8
|
+
def migrate(env, version):
|
9
|
+
openupgrade.load_data(env, "purchase", "17.0.1.2/noupdate_changes.xml")
|
10
|
+
openupgrade.delete_record_translations(
|
11
|
+
env.cr,
|
12
|
+
"purchase",
|
13
|
+
[
|
14
|
+
"email_template_edi_purchase_done",
|
15
|
+
"email_template_edi_purchase_reminder",
|
16
|
+
],
|
17
|
+
)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
from openupgradelib import openupgrade
|
2
|
+
|
3
|
+
|
4
|
+
@openupgrade.migrate()
|
5
|
+
def migrate(env, version=None):
|
6
|
+
if not openupgrade.column_exists(env.cr, "purchase_order_line", "discount"):
|
7
|
+
openupgrade.logged_query(
|
8
|
+
env.cr,
|
9
|
+
"ALTER TABLE purchase_order_line ADD COLUMN discount FLOAT DEFAULT 0",
|
10
|
+
)
|
11
|
+
openupgrade.logged_query(
|
12
|
+
env.cr,
|
13
|
+
"ALTER TABLE purchase_order_line ALTER COLUMN discount DROP DEFAULT",
|
14
|
+
)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---Models in module 'purchase'---
|
2
|
+
---Fields in module 'purchase'---
|
3
|
+
purchase / purchase.order / activity_user_id (many2one) : not related anymore
|
4
|
+
purchase / purchase.order / activity_user_id (many2one) : now a function
|
5
|
+
purchase / purchase.order / message_main_attachment_id (many2one): DEL relation: ir.attachment
|
6
|
+
purchase / purchase.order / rating_ids (one2many) : NEW relation: rating.rating
|
7
|
+
# NOTHING TO DO
|
8
|
+
|
9
|
+
purchase / purchase.order.line / discount (float) : NEW hasdefault: compute
|
10
|
+
# DONE: create column in pre-migration to avoid expensive recomputation
|
11
|
+
|
12
|
+
purchase / res.partner / buyer_id (many2one) : NEW relation: res.users
|
13
|
+
# NOTHING TO DO
|
14
|
+
|
15
|
+
---XML records in module 'purchase'---
|
16
|
+
NEW ir.ui.view: purchase.document_tax_totals
|
17
|
+
NEW ir.ui.view: purchase.product_template_search_view_purchase
|
18
|
+
NEW ir.ui.view: purchase.product_view_kanban_catalog_purchase_only
|
19
|
+
NEW ir.ui.view: purchase.product_view_search_catalog
|
20
|
+
NEW ir.ui.view: purchase.view_product_product_supplier_inherit
|
21
|
+
# NOTHING TO DO
|
@@ -439,7 +439,10 @@ odoo/addons/openupgrade_scripts/scripts/project_timesheet_holidays/17.0.1.0/upgr
|
|
439
439
|
odoo/addons/openupgrade_scripts/scripts/project_todo/17.0.1.0/noupdate_changes.xml,sha256=h-UaEC47MTkO3y5SHt-6RYHqbeD7OBlaJ2VEvKHIAfA,452
|
440
440
|
odoo/addons/openupgrade_scripts/scripts/project_todo/17.0.1.0/upgrade_analysis.txt,sha256=88bgGroE5pXWTcX4mBVsKqbBw-2yLYOih57RpCcApo4,5194
|
441
441
|
odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/noupdate_changes.xml,sha256=wH17u5OtfBg5DfINZ_tHHkZwLGE67IG9D5Z2VIT1cPM,3109
|
442
|
+
odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/post-migration.py,sha256=Ek-RvE1qg0lZEIyq8zS6VSedRoI1njgzRNvJH8OSOoM,510
|
443
|
+
odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/pre-migration.py,sha256=80iVU0E21q-eWgLzAH-tk0Ht7SGwlDOLrRL2ZgpyMDM,470
|
442
444
|
odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis.txt,sha256=JjGlWWzK2biZHwSLPLA8zrrS2tRUUMqPWsDoOorBWW8,988
|
445
|
+
odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis_work.txt,sha256=I2UxUF-cPsTBFePdFNu61jW4eviELtpWM4zkZvObyUU,1111
|
443
446
|
odoo/addons/openupgrade_scripts/scripts/purchase_mrp/17.0.1.0/upgrade_analysis.txt,sha256=E4pgWF7i8oHH6mklWCxmWBkBx8TymHlxBQeYemt09p0,188
|
444
447
|
odoo/addons/openupgrade_scripts/scripts/purchase_product_matrix/17.0.1.0/upgrade_analysis.txt,sha256=ziZfZQGATL_2VPdgw-7hgS7661nkDbbYuT_SgMrpFmw,192
|
445
448
|
odoo/addons/openupgrade_scripts/scripts/purchase_requisition/17.0.0.1/upgrade_analysis.txt,sha256=-3eCb_nikz-NG3FR7NH6RanmKPBFiTxMVuQXI-aNkcM,642
|
@@ -573,7 +576,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
|
|
573
576
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
574
577
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
575
578
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
|
576
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
577
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
578
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
579
|
-
odoo_addon_openupgrade_scripts-17.0.1.0.1.
|
579
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info/METADATA,sha256=fN5MDd4522cXI5H93Wv8ap1Bo0B2u4Cb1dzlqdVw6RA,3786
|
580
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
581
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
582
|
+
odoo_addon_openupgrade_scripts-17.0.1.0.1.107.dist-info/RECORD,,
|
File without changes
|