odoo-addon-openupgrade-scripts 15.0.1.0.0.313__py3-none-any.whl → 15.0.1.0.0.317__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,19 @@
1
+ from openupgradelib import openupgrade
2
+
3
+
4
+ @openupgrade.migrate()
5
+ def migrate(env, version):
6
+ openupgrade.logged_query(
7
+ env.cr,
8
+ """
9
+ WITH subquery as (
10
+ SELECT op.name as origin, p.id as pid
11
+ FROM stock_warehouse_orderpoint AS op
12
+ LEFT JOIN procurement_group AS p ON op.group_id = p.id
13
+ )
14
+ UPDATE purchase_requisition as requisition
15
+ SET procurement_group_id = subquery.pid
16
+ FROM subquery
17
+ WHERE requisition.origin = subquery.origin;
18
+ """,
19
+ )
@@ -0,0 +1,6 @@
1
+ ---Models in module 'purchase_requisition_stock'---
2
+ ---Fields in module 'purchase_requisition_stock'---
3
+ purchase_requisition_stock / purchase.requisition / procurement_group_id (many2one): NEW relation: procurement.group
4
+ # DONE: post-migration: fill data from stock.warehouse.orderpoint
5
+
6
+ ---XML records in module 'purchase_requisition_stock'---
@@ -0,0 +1,13 @@
1
+ ---Models in module 'purchase_stock'---
2
+ ---Fields in module 'purchase_stock'---
3
+ purchase_stock / purchase.order / picking_count (integer) : DEL
4
+ # NOTHING TO DO: alternative field no store
5
+
6
+ purchase_stock / stock.warehouse.orderpoint / vendor_id (many2one) : NEW relation: res.partner, isrelated: related, stored
7
+ # NOTHING TO DO: handle by ORM
8
+
9
+ ---XML records in module 'purchase_stock'---
10
+ NEW ir.ui.view: purchase_stock.product_supplierinfo_replenishment_tree_view
11
+ NEW ir.ui.view: purchase_stock.view_stock_replenishment_info_stock_purchase_inherit
12
+ DEL ir.ui.view: purchase_stock.assets_backend
13
+ # NOTHING TO DO: noupdate="0" records
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade-scripts
3
- Version: 15.0.1.0.0.313
3
+ Version: 15.0.1.0.0.317
4
4
  Summary: Module that contains all the migrations analysis and scripts for migrate Odoo SA modules.
5
5
  Home-page: https://github.com/OCA/OpenUpgrade
6
6
  Author: Odoo Community Association (OCA)
@@ -484,9 +484,12 @@ odoo/addons/openupgrade_scripts/scripts/purchase_requisition/15.0.0.1/post-migra
484
484
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition/15.0.0.1/pre-migration.py,sha256=kCJdoThZczKqmunB6y2of-41-GJ7a3BL-QFshaQLod8,238
485
485
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition/15.0.0.1/upgrade_analysis.txt,sha256=9dwlEZ6MITeM1sZywSmmA16R_P0vgDKeCMXoeM5dKf0,516
486
486
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition/15.0.0.1/upgrade_analysis_work.txt,sha256=HlYpJV2mt2jXhYFiw6MnVFk7o6g8gqtRGBISTFifRjs,654
487
+ odoo/addons/openupgrade_scripts/scripts/purchase_requisition_stock/15.0.1.2/post-migration.py,sha256=e-ITKJK_iN6vrcHgNs6gR3PSv-dXAXVDDjLLAsTDuYc,545
487
488
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition_stock/15.0.1.2/upgrade_analysis.txt,sha256=lFFT6l_QaPoOwWIv-7w_1CTUC6NWWzWdk4WXgTlacHI,282
489
+ odoo/addons/openupgrade_scripts/scripts/purchase_requisition_stock/15.0.1.2/upgrade_analysis_work.txt,sha256=dHZpcqxxaFbC_nxpvu2XH1fCI6bpZv66dXO3ONQZAaw,349
488
490
  odoo/addons/openupgrade_scripts/scripts/purchase_requisition_stock_dropshipping/15.0.1.0/upgrade_analysis.txt,sha256=MKJt-SPNvcG4B12WznTSWa4t8xzDm51BDpJuV66OQWU,421
489
491
  odoo/addons/openupgrade_scripts/scripts/purchase_stock/15.0.1.2/upgrade_analysis.txt,sha256=OW2ePDlCky-Xi0gunau7YxQtikUvBXD9QwZ1Z1WtjO4,543
492
+ odoo/addons/openupgrade_scripts/scripts/purchase_stock/15.0.1.2/upgrade_analysis_work.txt,sha256=ylZVty_LrYJ39-u4tsCdFxQkIukLDiKzdtJiRf0IalM,658
490
493
  odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/post-migration.py,sha256=Kgt8hCI-sUb6dZkXO92blhdxvKRC68BPL0LHyMBXDQ4,417
491
494
  odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/pre-migration.py,sha256=GuypAkDUrFdyzAGTyH3HW-3USleWzFsu6s-HZ_wSym4,201
492
495
  odoo/addons/openupgrade_scripts/scripts/rating/15.0.1.0/upgrade_analysis.txt,sha256=3Zjl03w3-ItvvI02a8N5OFrF4V3a3IBzuybeDVGoHYg,337
@@ -664,7 +667,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/15.0.1.0/upgrade_analysi
664
667
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
665
668
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
666
669
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=s3mIFwyEmmeeUo4Vb8_kg863qPkRF6fgPb4ZemTd06I,12083
667
- odoo_addon_openupgrade_scripts-15.0.1.0.0.313.dist-info/METADATA,sha256=rr2tKuuc7RDGlD9VEHUMAjwJXePLNWzt8A-FdjIPWdA,3420
668
- odoo_addon_openupgrade_scripts-15.0.1.0.0.313.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
669
- odoo_addon_openupgrade_scripts-15.0.1.0.0.313.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
670
- odoo_addon_openupgrade_scripts-15.0.1.0.0.313.dist-info/RECORD,,
670
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.317.dist-info/METADATA,sha256=cYLnT0IYBhvKTJ6reFQE4oEoY6dur2Bbl2MpHRcPw1Q,3420
671
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.317.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
672
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.317.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
673
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.317.dist-info/RECORD,,