odoo-addon-openupgrade-scripts 17.0.1.0.1.104__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.
@@ -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
@@ -0,0 +1,10 @@
1
+ ---Models in module 'sale_stock'---
2
+ ---Fields in module 'sale_stock'---
3
+ ---XML records in module 'sale_stock'---
4
+ NEW ir.ui.view: sale_stock.sale_order_tree
5
+ DEL ir.ui.view: sale_stock.report_invoice_document_inherit_sale_stock
6
+ DEL ir.ui.view: sale_stock.res_config_settings_view_form_sale
7
+ DEL ir.ui.view: sale_stock.sale_report_product_product_replenishment
8
+ DEL ir.ui.view: sale_stock.view_quotation_tree
9
+ DEL res.groups: sale_stock.group_display_incoterm
10
+ # NOTHING TO DO
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 17.0.1.0.1.104
3
+ Version: 17.0.1.0.1.107
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo>=17.0a,<17.1dev
6
6
  Requires-Dist: openupgradelib
@@ -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
@@ -476,6 +479,7 @@ odoo/addons/openupgrade_scripts/scripts/sale_project/17.0.1.0/upgrade_analysis.t
476
479
  odoo/addons/openupgrade_scripts/scripts/sale_purchase/17.0.1.0/upgrade_analysis.txt,sha256=zU3l9u9sVc2vJxUfjkE4VbO1T0haJ7jpWA0n28Ks9_A,162
477
480
  odoo/addons/openupgrade_scripts/scripts/sale_service/17.0.1.0/upgrade_analysis.txt,sha256=Lhprha4HoPrmPzgSgsg3SdLzr9cy19trFmWZGhwcyKs,227
478
481
  odoo/addons/openupgrade_scripts/scripts/sale_stock/17.0.1.0/upgrade_analysis.txt,sha256=XxcJseqIZQZS-XnS07ueuYr6ot_W-XVluSFPnx0Bdqs,454
482
+ odoo/addons/openupgrade_scripts/scripts/sale_stock/17.0.1.0/upgrade_analysis_work.txt,sha256=mgZdQxLNerZNnxnnKqSTHwFQAOk8gfbmlkx0Ou-9gaw,470
479
483
  odoo/addons/openupgrade_scripts/scripts/sale_timesheet/17.0.1.0/noupdate_changes.xml,sha256=yGW3ZrY1z-siMMt4DreIW96BQevct1WGif1Hwi1_q0s,172
480
484
  odoo/addons/openupgrade_scripts/scripts/sale_timesheet/17.0.1.0/upgrade_analysis.txt,sha256=A_nXJBOM1ztD2XR9xKvGGl97GTTaR8wswLJGKpY0yWA,1150
481
485
  odoo/addons/openupgrade_scripts/scripts/sales_team/17.0.1.1/upgrade_analysis.txt,sha256=VMb2vV6ZCh2oqJEOMAaS2O_2MSF9V_O_E5vb3UHIXGI,579
@@ -572,7 +576,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
572
576
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
573
577
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
574
578
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
575
- odoo_addon_openupgrade_scripts-17.0.1.0.1.104.dist-info/METADATA,sha256=RDQIdNU5R2HnJeMOSFskQCl02fa_EdDPNb0DTmHB0Go,3786
576
- odoo_addon_openupgrade_scripts-17.0.1.0.1.104.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
577
- odoo_addon_openupgrade_scripts-17.0.1.0.1.104.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
578
- odoo_addon_openupgrade_scripts-17.0.1.0.1.104.dist-info/RECORD,,
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,,