odoo-addon-openupgrade-scripts 15.0.1.0.0.421__py3-none-any.whl → 15.0.1.0.0.424__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/point_of_sale/15.0.1.0.1/pre-migration.py +30 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/upgrade_analysis_work.txt +140 -0
- odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/post-migration.py +3 -8
- odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/upgrade_analysis_work.txt +2 -2
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.421.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.421.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info}/RECORD +8 -6
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.421.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-15.0.1.0.0.421.dist-info → odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright 2022 ForgeFlow S.L. <https://www.forgeflow.com>
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
3
|
+
from openupgradelib import openupgrade
|
4
|
+
|
5
|
+
|
6
|
+
@openupgrade.migrate()
|
7
|
+
def migrate(env, version):
|
8
|
+
openupgrade.rename_fields(
|
9
|
+
env,
|
10
|
+
[
|
11
|
+
(
|
12
|
+
"pos.config",
|
13
|
+
"pos_config",
|
14
|
+
"iface_customer_facing_display",
|
15
|
+
"iface_customer_facing_display_via_proxy",
|
16
|
+
),
|
17
|
+
(
|
18
|
+
"pos.payment.method",
|
19
|
+
"pos_payment_method",
|
20
|
+
"cash_journal_id",
|
21
|
+
"journal_id",
|
22
|
+
),
|
23
|
+
],
|
24
|
+
)
|
25
|
+
openupgrade.logged_query(
|
26
|
+
env.cr,
|
27
|
+
"""
|
28
|
+
ALTER TABLE pos_config ADD COLUMN IF NOT EXISTS warehouse_id INTEGER
|
29
|
+
""",
|
30
|
+
)
|
@@ -0,0 +1,140 @@
|
|
1
|
+
---Models in module 'point_of_sale'---
|
2
|
+
obsolete model closing.balance.confirm.wizard [transient]
|
3
|
+
new model pos.bill
|
4
|
+
new model pos.close.session.wizard [transient]
|
5
|
+
# NOTHING TO DO
|
6
|
+
|
7
|
+
---Fields in module 'point_of_sale'---
|
8
|
+
point_of_sale / account.bank.statement.cashbox / is_a_template (boolean) : DEL
|
9
|
+
point_of_sale / account.bank.statement.cashbox / pos_config_ids (one2many) : DEL relation: pos.config
|
10
|
+
point_of_sale / account.bank.statement.line / pos_statement_id (many2one) : DEL relation: pos.order
|
11
|
+
# NOTHING TO DO
|
12
|
+
|
13
|
+
point_of_sale / account.move / pos_payment_ids (one2many) : NEW relation: pos.payment
|
14
|
+
point_of_sale / pos.payment / account_move_id (many2one) : NEW relation: account.move
|
15
|
+
# NOTHING TO DO: new relation
|
16
|
+
|
17
|
+
point_of_sale / account.payment / force_outstanding_account_id (many2one): NEW relation: account.account
|
18
|
+
point_of_sale / account.payment / pos_payment_method_id (many2one): NEW relation: pos.payment.method
|
19
|
+
# NOTHING TO DO: new relations
|
20
|
+
|
21
|
+
point_of_sale / account.payment / pos_session_id (many2one) : NEW relation: pos.session
|
22
|
+
point_of_sale / pos.session / bank_payment_ids (one2many) : NEW relation: account.payment
|
23
|
+
# NOTHING TO DO: new relation
|
24
|
+
|
25
|
+
point_of_sale / barcode.rule / type (False) : selection_keys is now '['alias', 'cashier', 'client', 'discount', 'expiration_date', 'location', 'location_dest', 'lot', 'package', 'package_type', 'packaging_date', 'price', 'product', 'quantity', 'use_date', 'weight']' ('['alias', 'cashier', 'client', 'discount', 'location', 'lot', 'package', 'price', 'product', 'weight']')
|
26
|
+
# NOTHING TO DO: same selection options in this module
|
27
|
+
|
28
|
+
point_of_sale / pos.bill / name (char) : NEW
|
29
|
+
point_of_sale / pos.bill / pos_config_ids (many2many) : NEW relation: pos.config
|
30
|
+
point_of_sale / pos.bill / value (float) : NEW required
|
31
|
+
# NOTHING TO DO: new model
|
32
|
+
|
33
|
+
point_of_sale / pos.config / cash_control (boolean) : not stored anymore
|
34
|
+
point_of_sale / pos.config / cash_control (boolean) : now a function
|
35
|
+
# NOTHING TO DO
|
36
|
+
|
37
|
+
point_of_sale / pos.config / default_bill_ids (many2many) : NEW relation: pos.bill
|
38
|
+
point_of_sale / pos.config / default_cashbox_id (many2one) : DEL relation: account.bank.statement.cashbox
|
39
|
+
# NOTHING TO DO (?): statement cashbox is replaced by pos bills
|
40
|
+
|
41
|
+
point_of_sale / pos.config / iface_customer_facing_display (boolean): not stored anymore
|
42
|
+
point_of_sale / pos.config / iface_customer_facing_display (boolean): now a function
|
43
|
+
point_of_sale / pos.config / iface_customer_facing_display_local (boolean): NEW
|
44
|
+
point_of_sale / pos.config / iface_customer_facing_display_via_proxy (boolean): NEW
|
45
|
+
# DONE: pre-migration: renamed iface_customer_facing_display to iface_customer_facing_display_via_proxy
|
46
|
+
|
47
|
+
point_of_sale / pos.config / iface_orderline_customer_notes (boolean): NEW
|
48
|
+
point_of_sale / pos.order.line / customer_note (char) : NEW
|
49
|
+
# NOTHING TO DO: new feature
|
50
|
+
|
51
|
+
point_of_sale / pos.config / iface_vkeyboard (boolean) : DEL
|
52
|
+
point_of_sale / pos.config / manage_orders (boolean) : DEL
|
53
|
+
# NOTHING TO DO: obsolete features
|
54
|
+
|
55
|
+
point_of_sale / pos.config / limited_partners_amount (integer): NEW hasdefault
|
56
|
+
point_of_sale / pos.config / limited_partners_loading (boolean): NEW
|
57
|
+
point_of_sale / pos.config / limited_products_amount (integer): NEW hasdefault
|
58
|
+
point_of_sale / pos.config / limited_products_loading (boolean): NEW
|
59
|
+
point_of_sale / pos.config / partner_load_background (boolean): NEW
|
60
|
+
point_of_sale / pos.config / picking_policy (selection) : NEW required, selection_keys: ['direct', 'one'], req_default: function, hasdefault
|
61
|
+
point_of_sale / pos.config / product_load_background (boolean): NEW
|
62
|
+
point_of_sale / pos.config / route_id (many2one) : NEW relation: stock.location.route
|
63
|
+
point_of_sale / pos.config / set_maximum_difference (boolean): NEW
|
64
|
+
point_of_sale / pos.config / ship_later (boolean) : NEW
|
65
|
+
# NOTHING TO DO: new features
|
66
|
+
|
67
|
+
point_of_sale / pos.config / warehouse_id (many2one) : NEW relation: stock.warehouse, hasdefault
|
68
|
+
# DONE: pre-migration: pre-created column to avoid default
|
69
|
+
|
70
|
+
point_of_sale / pos.order / procurement_group_id (many2one): NEW relation: procurement.group
|
71
|
+
point_of_sale / procurement.group / pos_order_id (many2one) : NEW relation: pos.order
|
72
|
+
# NOTHING TO DO: new relations
|
73
|
+
|
74
|
+
point_of_sale / pos.order / to_ship (boolean) : NEW
|
75
|
+
point_of_sale / pos.order.line / is_total_cost_computed (boolean): NEW
|
76
|
+
point_of_sale / pos.order.line / total_cost (float) : NEW
|
77
|
+
# NOTHING TO DO: new features
|
78
|
+
|
79
|
+
point_of_sale / pos.order.line / refund_orderline_ids (one2many): NEW relation: pos.order.line
|
80
|
+
point_of_sale / pos.order.line / refunded_orderline_id (many2one): NEW relation: pos.order.line
|
81
|
+
# NOTHING TO DO: new relations
|
82
|
+
|
83
|
+
point_of_sale / pos.payment / company_id (many2one) : is now stored
|
84
|
+
# NOTHING TO DO: is a related field
|
85
|
+
|
86
|
+
point_of_sale / pos.payment.method / is_cash_count (boolean) : now a function
|
87
|
+
# NOTHING TO DO
|
88
|
+
|
89
|
+
point_of_sale / pos.payment.method / cash_journal_id (many2one) : DEL relation: account.journal
|
90
|
+
point_of_sale / pos.payment.method / journal_id (many2one) : NEW relation: account.journal
|
91
|
+
# DONE: pre-migration: renamed fields
|
92
|
+
|
93
|
+
point_of_sale / pos.payment.method / outstanding_account_id (many2one): NEW relation: account.account
|
94
|
+
# NOTHING TO DO: new feature
|
95
|
+
|
96
|
+
point_of_sale / pos.session / opening_notes (text) : NEW
|
97
|
+
# NOTHING TO DO: new feature
|
98
|
+
|
99
|
+
---XML records in module 'point_of_sale'---
|
100
|
+
NEW ir.actions.act_window: point_of_sale.action_pos_bill
|
101
|
+
DEL ir.actions.report: point_of_sale.pos_invoice_report
|
102
|
+
NEW ir.model.access: point_of_sale.access_account_payment_method_line_pos_user
|
103
|
+
NEW ir.model.access: point_of_sale.access_pos_bill
|
104
|
+
NEW ir.model.access: point_of_sale.access_pos_close_session_wizard
|
105
|
+
DEL ir.model.access: point_of_sale.access_closing_balance_confirm_wizard
|
106
|
+
NEW ir.ui.menu: point_of_sale.menu_pos_bill
|
107
|
+
NEW ir.ui.view: point_of_sale.product_product_tree_view
|
108
|
+
NEW ir.ui.view: point_of_sale.product_template_only_form_view
|
109
|
+
NEW ir.ui.view: point_of_sale.product_template_tree_view
|
110
|
+
NEW ir.ui.view: point_of_sale.report_invoice_document
|
111
|
+
NEW ir.ui.view: point_of_sale.report_pos_order_view_tree
|
112
|
+
NEW ir.ui.view: point_of_sale.view_form_pos_close_session_wizard
|
113
|
+
NEW ir.ui.view: point_of_sale.view_pos_bill_form
|
114
|
+
NEW ir.ui.view: point_of_sale.view_pos_bill_tree
|
115
|
+
DEL ir.ui.view: point_of_sale.assets
|
116
|
+
DEL ir.ui.view: point_of_sale.assets_backend
|
117
|
+
DEL ir.ui.view: point_of_sale.assets_tests
|
118
|
+
DEL ir.ui.view: point_of_sale.closing_balance_confirm
|
119
|
+
DEL ir.ui.view: point_of_sale.customer_facing_display_html
|
120
|
+
DEL ir.ui.view: point_of_sale.pos_assets_backend
|
121
|
+
DEL ir.ui.view: point_of_sale.qunit_suite_tests
|
122
|
+
DEL ir.ui.view: point_of_sale.report_invoice
|
123
|
+
DEL ir.ui.view: point_of_sale.view_account_bnk_stmt_cashbox
|
124
|
+
DEL ir.ui.view: point_of_sale.view_account_bnk_stmt_cashbox_footer
|
125
|
+
NEW pos.bill: point_of_sale.0_01 (noupdate)
|
126
|
+
NEW pos.bill: point_of_sale.0_02 (noupdate)
|
127
|
+
NEW pos.bill: point_of_sale.0_05 (noupdate)
|
128
|
+
NEW pos.bill: point_of_sale.0_10 (noupdate)
|
129
|
+
NEW pos.bill: point_of_sale.0_20 (noupdate)
|
130
|
+
NEW pos.bill: point_of_sale.0_50 (noupdate)
|
131
|
+
NEW pos.bill: point_of_sale.100_00 (noupdate)
|
132
|
+
NEW pos.bill: point_of_sale.10_00 (noupdate)
|
133
|
+
NEW pos.bill: point_of_sale.1_00 (noupdate)
|
134
|
+
NEW pos.bill: point_of_sale.200_00 (noupdate)
|
135
|
+
NEW pos.bill: point_of_sale.20_00 (noupdate)
|
136
|
+
NEW pos.bill: point_of_sale.2_00 (noupdate)
|
137
|
+
NEW pos.bill: point_of_sale.500_00 (noupdate)
|
138
|
+
NEW pos.bill: point_of_sale.50_00 (noupdate)
|
139
|
+
NEW pos.bill: point_of_sale.5_00 (noupdate)
|
140
|
+
# NOTHING TO DO
|
@@ -5,11 +5,6 @@ from openupgradelib import openupgrade
|
|
5
5
|
|
6
6
|
@openupgrade.migrate()
|
7
7
|
def migrate(env, version):
|
8
|
-
|
9
|
-
openupgrade.
|
10
|
-
|
11
|
-
"sale_coupon",
|
12
|
-
[
|
13
|
-
"mail_template_sale_coupon",
|
14
|
-
],
|
15
|
-
)
|
8
|
+
# no differences detected
|
9
|
+
# openupgrade.load_data(env.cr, "sale_coupon", "15.0.1.0/noupdate_changes.xml")
|
10
|
+
pass
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---Models in module 'sale_coupon'---
|
2
2
|
---Fields in module 'sale_coupon'---
|
3
3
|
---XML records in module 'sale_coupon'---
|
4
|
-
NEW mail.template: sale_coupon.mail_template_sale_coupon [renamed from coupon module] (noupdate
|
5
|
-
# DONE: post-migration: handled noupdate changes. The xmlid rename was handled in coupon module
|
4
|
+
NEW mail.template: sale_coupon.mail_template_sale_coupon [renamed from coupon module] (noupdate)
|
5
|
+
# DONE: post-migration: handled noupdate changes (in fact, no changes detected). The xmlid rename was handled in coupon module
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-openupgrade-scripts
|
3
|
-
Version: 15.0.1.0.0.
|
3
|
+
Version: 15.0.1.0.0.424
|
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)
|
@@ -468,7 +468,9 @@ odoo/addons/openupgrade_scripts/scripts/payment_transfer/15.0.2.0/upgrade_analys
|
|
468
468
|
odoo/addons/openupgrade_scripts/scripts/payment_transfer/15.0.2.0/upgrade_analysis_work.txt,sha256=vrUWFcV-jmpcGiAXnbxwYySSS5SgXF7X4m0hELy38BA,1026
|
469
469
|
odoo/addons/openupgrade_scripts/scripts/phone_validation/15.0.2.1/upgrade_analysis.txt,sha256=YbxCg-4Tfc9R44jlmyuTQEFtFNtgl1l7lCaHDxDbq8Y,180
|
470
470
|
odoo/addons/openupgrade_scripts/scripts/phone_validation/15.0.2.1/upgrade_analysis_work.txt,sha256=7KehuhfF_NlsU7UAHsa8DLKepZDfvlqzQ8LNeaqrKQA,301
|
471
|
+
odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/pre-migration.py,sha256=4ZXoMWsxzbpcbD47KouWWaZwljWrQNju1CirNrN20w4,813
|
471
472
|
odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/upgrade_analysis.txt,sha256=JW0fHqC0rJ55cAKKyh-QCguOXhzrc-Bl1M_qcIGTs1k,7323
|
473
|
+
odoo/addons/openupgrade_scripts/scripts/point_of_sale/15.0.1.0.1/upgrade_analysis_work.txt,sha256=3hVzZrTJ6QgWSWUYMUzxYQhliXpwDPExI7HEY2wpKvI,8130
|
472
474
|
odoo/addons/openupgrade_scripts/scripts/portal/15.0.1.0/noupdate_changes.xml,sha256=WAyp4JiMPXFNkxlsbf3XLEQRX-UWdyulTWdbDnKV5Sw,6944
|
473
475
|
odoo/addons/openupgrade_scripts/scripts/portal/15.0.1.0/post-migration.py,sha256=UcYNM42lWfVpRzow6YuTlqAJvZQ7QWwPJ8Ow4OmoJ3U,322
|
474
476
|
odoo/addons/openupgrade_scripts/scripts/portal/15.0.1.0/upgrade_analysis.txt,sha256=l8mQ2GDy7TNjHmekN72wjfmTlihRTmlcmHc_HjaYiB0,798
|
@@ -548,9 +550,9 @@ odoo/addons/openupgrade_scripts/scripts/sale/15.0.1.2/pre-migration.py,sha256=CP
|
|
548
550
|
odoo/addons/openupgrade_scripts/scripts/sale/15.0.1.2/upgrade_analysis.txt,sha256=-zawpIwdtdykptui2fLXi2PrQqq3th6jQpdxN4lYELg,1401
|
549
551
|
odoo/addons/openupgrade_scripts/scripts/sale/15.0.1.2/upgrade_analysis_work.txt,sha256=bHobgKobCRX8BeMHTRiXiAKjGyTwqgLllFSrYawYRrc,1643
|
550
552
|
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/noupdate_changes.xml,sha256=vmHTy6C2NK3qm1uBkbzfEQtgAu_KkwUQC5BgfbRPuhk,4549
|
551
|
-
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/post-migration.py,sha256=
|
553
|
+
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/post-migration.py,sha256=7mts6EzdPXenG5rbE1RGQTORdXClCVkYLoWrv6JjCos,344
|
552
554
|
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/upgrade_analysis.txt,sha256=sjAGdNG-Gsb3FPAFOXK2Q4Q_uv3QsSjKS_Ys43LB7MY,213
|
553
|
-
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/upgrade_analysis_work.txt,sha256=
|
555
|
+
odoo/addons/openupgrade_scripts/scripts/sale_coupon/15.0.1.0/upgrade_analysis_work.txt,sha256=lxzbVUFZL9EhjDz-UQC_eZWDBPJoMEKXWkDYVZKtpyc,340
|
554
556
|
odoo/addons/openupgrade_scripts/scripts/sale_coupon_delivery/15.0.1.0/upgrade_analysis.txt,sha256=3bCAlc-Tq8W2RWoeDdyD5VFLcsEx50rJPe6NlOOE_PU,183
|
555
557
|
odoo/addons/openupgrade_scripts/scripts/sale_coupon_delivery/15.0.1.0/upgrade_analysis_work.txt,sha256=FFEd7wgcUOg_6iOruU6KsHIKC_lyWNs3ARKmo7OW7G0,199
|
556
558
|
odoo/addons/openupgrade_scripts/scripts/sale_crm/15.0.1.0/upgrade_analysis.txt,sha256=lv8jHV4r15aW7GmffXmW3R6DrZAoKEC60trv5mjtbdU,147
|
@@ -775,7 +777,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/15.0.1.0/upgrade_analysi
|
|
775
777
|
odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
|
776
778
|
odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
777
779
|
odoo/addons/openupgrade_scripts/static/description/index.html,sha256=s3mIFwyEmmeeUo4Vb8_kg863qPkRF6fgPb4ZemTd06I,12083
|
778
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
779
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
780
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
781
|
-
odoo_addon_openupgrade_scripts-15.0.1.0.0.
|
780
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info/METADATA,sha256=JCqUiCn94vVBLF-cugqSx2gNAne0p9uNk0kJiyJx_b4,3420
|
781
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
782
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
783
|
+
odoo_addon_openupgrade_scripts-15.0.1.0.0.424.dist-info/RECORD,,
|
File without changes
|