odoo-addon-openupgrade-scripts 18.0.1.0.0.151__py3-none-any.whl → 18.0.1.0.0.158__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/account/18.0.1.3/upgrade_analysis.txt +6 -6
- odoo/addons/openupgrade_scripts/scripts/account_edi_ubl_cii/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/account_peppol/18.0.1.1/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_analysis.txt +4 -4
- odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_general_log.txt +6 -3
- odoo/addons/openupgrade_scripts/scripts/event/18.0.1.9/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/event_product/18.0.1.0/pre-migration.py +4 -3
- odoo/addons/openupgrade_scripts/scripts/event_sale/18.0.1.3/noupdate_changes.xml +0 -2
- odoo/addons/openupgrade_scripts/scripts/hr/18.0.1.1/upgrade_analysis.txt +3 -3
- odoo/addons/openupgrade_scripts/scripts/hr_attendance/18.0.2.0/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/noupdate_changes.xml +0 -3
- odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/post-migration.py +0 -3
- odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/upgrade_analysis.txt +0 -1
- odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/upgrade_analysis_work.txt +0 -3
- odoo/addons/openupgrade_scripts/scripts/hr_holidays/18.0.1.6/upgrade_analysis.txt +5 -5
- odoo/addons/openupgrade_scripts/scripts/hr_homeworking/18.0.2.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/hr_presence/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/l10n_fr/18.0.2.1/upgrade_analysis.txt +2799 -2
- odoo/addons/openupgrade_scripts/scripts/l10n_fr_account/18.0.2.2/upgrade_analysis.txt +2799 -2799
- odoo/addons/openupgrade_scripts/scripts/l10n_id/{18.0.1.1 → 18.0.1.2}/upgrade_analysis.txt +0 -1
- odoo/addons/openupgrade_scripts/scripts/l10n_mx/18.0.2.3/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/l10n_my_edi_extended/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/l10n_my_edi_pos/18.0.1.0/upgrade_analysis.txt +52 -0
- odoo/addons/openupgrade_scripts/scripts/l10n_ro_edi/18.0.1.0/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/l10n_ro_edi_stock/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/l10n_sa/18.0.2.0/upgrade_analysis.txt +3 -5
- odoo/addons/openupgrade_scripts/scripts/l10n_tr_nilvera_edispatch/18.0.1.0/upgrade_analysis.txt +4 -0
- odoo/addons/openupgrade_scripts/scripts/mail/18.0.1.18/upgrade_analysis.txt +3 -3
- odoo/addons/openupgrade_scripts/scripts/mail_bot/18.0.1.2/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/mrp_account/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment/18.0.2.0/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/noupdate_changes.xml +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/noupdate_changes_work.xml +7 -0
- odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/post-migration.py +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_paypal/18.0.2.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_razorpay/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_stripe/18.0.2.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_worldline/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/payment_xendit/18.0.1.0/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/post-migration.py +145 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/pre-migration.py +88 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/upgrade_analysis_work.txt +202 -0
- odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/post-migration.py +5 -0
- odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/pre-migration.py +25 -3
- odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/upgrade_analysis_work.txt +19 -2
- odoo/addons/openupgrade_scripts/scripts/project/18.0.1.3/noupdate_changes.xml +3 -0
- odoo/addons/openupgrade_scripts/scripts/project/18.0.1.3/upgrade_analysis.txt +8 -8
- odoo/addons/openupgrade_scripts/scripts/purchase_requisition/18.0.0.1/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/sale/18.0.1.2/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/survey/18.0.3.7/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/web_hierarchy/18.0.1.0/upgrade_analysis.txt +2 -2
- odoo/addons/openupgrade_scripts/scripts/website_event/18.0.1.4/upgrade_analysis.txt +0 -1
- odoo/addons/openupgrade_scripts/scripts/website_sale/18.0.1.1/upgrade_analysis.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/website_sale_collect/18.0.1.0/upgrade_analysis.txt +2 -2
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.151.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.158.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.151.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.158.dist-info}/RECORD +60 -54
- /odoo/addons/openupgrade_scripts/scripts/l10n_sa_edi/{18.0.0.1 → 18.0.0.2}/upgrade_analysis.txt +0 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.151.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.158.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-18.0.1.0.0.151.dist-info → odoo_addon_openupgrade_scripts-18.0.1.0.0.158.dist-info}/top_level.txt +0 -0
@@ -13,7 +13,6 @@ l10n_id / l10n_id.qris.transaction / qris_invoice_id (char) : NEW
|
|
13
13
|
l10n_id / res.partner.bank / l10n_id_qris_api_key (char) : NEW
|
14
14
|
l10n_id / res.partner.bank / l10n_id_qris_mid (char) : NEW
|
15
15
|
---XML records in module 'l10n_id'---
|
16
|
-
account.account.tag: l10n_id.ppn_tag (noupdate switched)
|
17
16
|
NEW ir.actions.server: l10n_id.action_fetch_qris_status
|
18
17
|
NEW ir.cron: l10n_id.qris_fetch_cron (noupdate)
|
19
18
|
NEW ir.model.access: l10n_id.access_l10n_id_qris_transaction
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'l10n_mx'---
|
2
2
|
---Fields in module 'l10n_mx'---
|
3
|
-
l10n_mx / account.tax / l10n_mx_tax_type (selection) : selection_keys
|
3
|
+
l10n_mx / account.tax / l10n_mx_tax_type (selection) : selection_keys added: [local] (most likely nothing to do)
|
4
4
|
l10n_mx / res.bank / fiscal_country_codes (char) : NEW hasdefault: default, stored: False
|
5
5
|
l10n_mx / res.partner.bank / fiscal_country_codes (char) : NEW hasdefault: default, stored: False
|
6
6
|
---XML records in module 'l10n_mx'---
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---Models in module 'l10n_my_edi_pos'---
|
2
|
+
new model myinvois.consolidate.invoice.wizard [transient]
|
3
|
+
new model myinvois.document
|
4
|
+
new model myinvois.document.status.update.wizard [transient]
|
5
|
+
---Fields in module 'l10n_my_edi_pos'---
|
6
|
+
l10n_my_edi_pos / account.tax / l10n_my_tax_exemption_reason (char): NEW
|
7
|
+
l10n_my_edi_pos / myinvois.document / active (boolean) : NEW hasdefault: default
|
8
|
+
l10n_my_edi_pos / myinvois.document / activity_ids (one2many) : NEW relation: mail.activity
|
9
|
+
l10n_my_edi_pos / myinvois.document / company_id (many2one) : NEW relation: res.company, required
|
10
|
+
l10n_my_edi_pos / myinvois.document / currency_id (many2one) : NEW relation: res.currency, required
|
11
|
+
l10n_my_edi_pos / myinvois.document / invoice_ids (many2many) : NEW relation: account.move
|
12
|
+
l10n_my_edi_pos / myinvois.document / message_follower_ids (one2many): NEW relation: mail.followers
|
13
|
+
l10n_my_edi_pos / myinvois.document / message_ids (one2many) : NEW relation: mail.message
|
14
|
+
l10n_my_edi_pos / myinvois.document / myinvois_custom_form_reference (char): NEW
|
15
|
+
l10n_my_edi_pos / myinvois.document / myinvois_document_long_id (char): NEW
|
16
|
+
l10n_my_edi_pos / myinvois.document / myinvois_error_document_hash (char): NEW
|
17
|
+
l10n_my_edi_pos / myinvois.document / myinvois_exemption_reason (char): NEW
|
18
|
+
l10n_my_edi_pos / myinvois.document / myinvois_external_uuid (char) : NEW
|
19
|
+
l10n_my_edi_pos / myinvois.document / myinvois_file (binary) : NEW attachment: True
|
20
|
+
l10n_my_edi_pos / myinvois.document / myinvois_issuance_date (date) : NEW
|
21
|
+
l10n_my_edi_pos / myinvois.document / myinvois_retry_at (char) : NEW
|
22
|
+
l10n_my_edi_pos / myinvois.document / myinvois_state (selection) : NEW selection_keys: ['cancelled', 'in_progress', 'invalid', 'rejected', 'valid']
|
23
|
+
l10n_my_edi_pos / myinvois.document / myinvois_submission_uid (char): NEW
|
24
|
+
l10n_my_edi_pos / myinvois.document / myinvois_validation_time (datetime): NEW
|
25
|
+
l10n_my_edi_pos / myinvois.document / name (char) : NEW isfunction: function, stored
|
26
|
+
l10n_my_edi_pos / myinvois.document / pos_config_id (many2one) : NEW relation: pos.config
|
27
|
+
l10n_my_edi_pos / myinvois.document / pos_order_date_range (char) : NEW isfunction: function, stored
|
28
|
+
l10n_my_edi_pos / myinvois.document / pos_order_ids (many2many) : NEW relation: pos.order
|
29
|
+
l10n_my_edi_pos / myinvois.document / rating_ids (one2many) : NEW relation: rating.rating
|
30
|
+
l10n_my_edi_pos / myinvois.document / sequence_number (integer) : NEW isfunction: function, stored
|
31
|
+
l10n_my_edi_pos / myinvois.document / sequence_prefix (char) : NEW isfunction: function, stored
|
32
|
+
l10n_my_edi_pos / myinvois.document / website_message_ids (one2many): NEW relation: mail.message
|
33
|
+
l10n_my_edi_pos / pos.order / consolidated_invoice_ids (many2many): NEW relation: myinvois.document
|
34
|
+
---XML records in module 'l10n_my_edi_pos'---
|
35
|
+
NEW ir.actions.act_window: l10n_my_edi_pos.action_consolidated_invoices
|
36
|
+
NEW ir.actions.server: l10n_my_edi_pos.action_generate_myinvois_document_file
|
37
|
+
NEW ir.cron: l10n_my_edi_pos.ir_cron_myinvois_document_sync
|
38
|
+
NEW ir.model.access: l10n_my_edi_pos.access_myinvois_consolidate_invoice_wizard_user
|
39
|
+
NEW ir.model.access: l10n_my_edi_pos.access_myinvois_document_status_update_wizard_user
|
40
|
+
NEW ir.model.access: l10n_my_edi_pos.access_myinvois_document_user
|
41
|
+
NEW ir.rule: l10n_my_edi_pos.myinvois_document_comp_rule (noupdate)
|
42
|
+
NEW ir.ui.menu: l10n_my_edi_pos.menu_consolidated_invoices
|
43
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_consolidate_invoice_wizard_form
|
44
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_document_form_view
|
45
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_document_list_view
|
46
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_document_pos_form_view
|
47
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_document_pos_list_view
|
48
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_document_status_update_form
|
49
|
+
NEW ir.ui.view: l10n_my_edi_pos.myinvois_product_product_view_form_normalized_pos
|
50
|
+
NEW ir.ui.view: l10n_my_edi_pos.view_pos_pos_form
|
51
|
+
NEW ir.ui.view: l10n_my_edi_pos.view_tax_form_inherit_l10n_my_edi_pos
|
52
|
+
NEW res.partner: l10n_my_edi_pos.general_public
|
@@ -3,8 +3,8 @@
|
|
3
3
|
l10n_ro_edi / account.move / l10n_ro_edi_index (char) : NEW
|
4
4
|
l10n_ro_edi / res.partner / invoice_edi_format (False) : NEW selection_keys: ['ciusro', 'es_facturae', 'facturx', 'it_edi_xml', 'nlcius', 'oioubl_201', 'pint_anz', 'pint_jp', 'pint_my', 'ubl_a_nz', 'ubl_bis3', 'ubl_sg', 'ubl_tr', 'xrechnung'], mode: modify
|
5
5
|
l10n_ro_edi / res.partner / ubl_cii_format (False) : DEL selection_keys: ['ciusro', 'facturx', 'nlcius', 'oioubl_201', 'pint_anz', 'pint_jp', 'pint_my', 'ubl_a_nz', 'ubl_bis3', 'ubl_sg', 'ubl_tr', 'xrechnung'], mode: modify
|
6
|
-
l10n_ro_efactura / account.move / l10n_ro_edi_state (selection) : selection_keys
|
7
|
-
l10n_ro_efactura / l10n_ro_edi.document / state (selection) : selection_keys
|
6
|
+
l10n_ro_efactura / account.move / l10n_ro_edi_state (selection) : selection_keys added: [invoice_validated], removed: [invoice_sending]
|
7
|
+
l10n_ro_efactura / l10n_ro_edi.document / state (selection) : selection_keys added: [invoice_validated], removed: [invoice_sending]
|
8
8
|
---XML records in module 'l10n_ro_edi'---
|
9
9
|
NEW ir.actions.server: l10n_ro_edi.l10n_ro_edi_action_fetch_ciusro_status [renamed from l10n_ro_efactura module]
|
10
10
|
DEL ir.actions.server: l10n_ro_efactura.l10n_ro_edi_action_fetch_ciusro_status [renamed to l10n_ro_edi module]
|
@@ -1,4 +1,4 @@
|
|
1
1
|
---Models in module 'l10n_ro_edi_stock'---
|
2
2
|
---Fields in module 'l10n_ro_edi_stock'---
|
3
|
-
l10n_ro_edi_stock / l10n_ro_edi.document / state (False) : selection_keys
|
3
|
+
l10n_ro_edi_stock / l10n_ro_edi.document / state (False) : selection_keys added: [invoice_validated], removed: [invoice_sending]
|
4
4
|
---XML records in module 'l10n_ro_edi_stock'---
|
@@ -1,8 +1,6 @@
|
|
1
1
|
---Models in module 'l10n_sa'---
|
2
2
|
---Fields in module 'l10n_sa'---
|
3
3
|
---XML records in module 'l10n_sa'---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
DEL ir.ui.view: l10n_sa.l10n_sa_external_layout_standard
|
8
|
-
DEL ir.ui.view: l10n_sa.l10n_sa_external_layout_striped
|
4
|
+
NEW ir.ui.view: l10n_sa.l10n_sa_external_layout_bubble
|
5
|
+
NEW ir.ui.view: l10n_sa.l10n_sa_external_layout_folder
|
6
|
+
NEW ir.ui.view: l10n_sa.l10n_sa_external_layout_wave
|
@@ -11,14 +11,14 @@ mail / discuss.channel / from_message_id (many2one) : NEW re
|
|
11
11
|
mail / discuss.channel / last_interest_dt (datetime) : NEW
|
12
12
|
mail / discuss.channel / parent_channel_id (many2one) : NEW relation: discuss.channel
|
13
13
|
mail / discuss.channel / sub_channel_ids (one2many) : NEW relation: discuss.channel
|
14
|
-
mail / discuss.channel.member / custom_notifications (selection): selection_keys
|
14
|
+
mail / discuss.channel.member / custom_notifications (selection): selection_keys added: [all] (most likely nothing to do)
|
15
15
|
mail / discuss.channel.member / is_minimized (boolean) : DEL
|
16
16
|
mail / discuss.channel.member / is_pinned (boolean) : not stored anymore
|
17
17
|
mail / discuss.channel.member / is_pinned (boolean) : now a function
|
18
18
|
mail / discuss.channel.member / new_message_separator (integer): NEW required, hasdefault: default
|
19
19
|
mail / discuss.channel.member / unpin_dt (datetime) : NEW
|
20
|
-
mail / ir.actions.act_window.view / view_mode (False) : selection_keys
|
21
|
-
mail / ir.ui.view / type (False) : selection_keys
|
20
|
+
mail / ir.actions.act_window.view / view_mode (False) : selection_keys added: [list], removed: [tree, gantt]
|
21
|
+
mail / ir.ui.view / type (False) : selection_keys added: [list], removed: [tree, gantt]
|
22
22
|
mail / mail.activity / user_tz (selection) : NEW selection_keys: function, isrelated: related, stored
|
23
23
|
mail / mail.activity.plan.template / delay_count (integer) : NEW hasdefault: default
|
24
24
|
mail / mail.activity.plan.template / delay_from (selection) : NEW required, selection_keys: ['after_plan_date', 'before_plan_date'], hasdefault: default
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---Models in module 'mail_bot'---
|
2
2
|
---Fields in module 'mail_bot'---
|
3
3
|
im_livechat_mail_bot / res.users / odoobot_state (False) : DEL selection_keys: ['disabled', 'idle', 'not_initialized', 'onboarding_attachement', 'onboarding_canned', 'onboarding_command', 'onboarding_emoji', 'onboarding_ping'], mode: modify
|
4
|
-
mail_bot / res.users / odoobot_state (selection) : selection_keys
|
4
|
+
mail_bot / res.users / odoobot_state (selection) : selection_keys added: [onboarding_canned] (most likely nothing to do)
|
5
5
|
---XML records in module 'mail_bot'---
|
@@ -2,7 +2,7 @@
|
|
2
2
|
new model mrp.account.wip.accounting [transient]
|
3
3
|
new model mrp.account.wip.accounting.line [transient]
|
4
4
|
---Fields in module 'mrp_account'---
|
5
|
-
mrp_account / account.analytic.applicability / business_domain (False) : selection_keys
|
5
|
+
mrp_account / account.analytic.applicability / business_domain (False) : selection_keys added: [timesheet] (most likely nothing to do)
|
6
6
|
mrp_account / account.move / wip_production_ids (many2many): NEW relation: mrp.production
|
7
7
|
mrp_account / mrp.bom / analytic_distribution_search (json): DEL stored: False
|
8
8
|
mrp_account / mrp.bom / analytic_distribution_text (text): DEL stored: False
|
@@ -1,9 +1,9 @@
|
|
1
1
|
---Models in module 'payment'---
|
2
2
|
---Fields in module 'payment'---
|
3
3
|
payment / payment.method / support_refund (selection) : now required
|
4
|
-
payment / payment.method / support_refund (selection) : selection_keys
|
4
|
+
payment / payment.method / support_refund (selection) : selection_keys added: [none] (most likely nothing to do)
|
5
5
|
payment / payment.provider / module_state (selection) : not stored anymore
|
6
|
-
payment / payment.provider / support_refund (selection) : selection_keys
|
6
|
+
payment / payment.provider / support_refund (selection) : selection_keys added: [none] (most likely nothing to do)
|
7
7
|
payment / payment.transaction / callback_hash (char) : DEL
|
8
8
|
payment / payment.transaction / callback_is_done (boolean) : DEL
|
9
9
|
payment / payment.transaction / callback_method (char) : DEL
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'payment_paypal'---
|
2
2
|
---Fields in module 'payment_paypal'---
|
3
|
-
payment_paypal / payment.provider / code (False) : selection_keys
|
3
|
+
payment_paypal / payment.provider / code (False) : selection_keys added: [nuvei] (most likely nothing to do)
|
4
4
|
payment_paypal / payment.provider / paypal_access_token (char) : NEW
|
5
5
|
payment_paypal / payment.provider / paypal_access_token_expiry (datetime): NEW hasdefault: default
|
6
6
|
payment_paypal / payment.provider / paypal_client_id (char) : NEW
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'payment_razorpay'---
|
2
2
|
---Fields in module 'payment_razorpay'---
|
3
|
-
payment_razorpay / payment.provider / code (False) : selection_keys
|
3
|
+
payment_razorpay / payment.provider / code (False) : selection_keys added: [nuvei] (most likely nothing to do)
|
4
4
|
---XML records in module 'payment_razorpay'---
|
5
5
|
NEW ir.ui.view: payment_razorpay.token_inline_form
|
6
6
|
DEL ir.ui.view: payment_razorpay.redirect_form
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---Models in module 'payment_stripe'---
|
2
2
|
---Fields in module 'payment_stripe'---
|
3
|
-
payment_stripe / payment.provider / code (False) : selection_keys
|
3
|
+
payment_stripe / payment.provider / code (False) : selection_keys added: [nuvei], removed: [sips]
|
4
4
|
---XML records in module 'payment_stripe'---
|
5
5
|
NEW ir.ui.view: payment_stripe.no_pms_available_warning
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'payment_worldline'---
|
2
2
|
---Fields in module 'payment_worldline'---
|
3
|
-
payment_sips / payment.provider / code (False) : selection_keys
|
3
|
+
payment_sips / payment.provider / code (False) : selection_keys added: [stripe, worldline, nuvei], removed: [sips]
|
4
4
|
payment_sips / payment.provider / sips_key_version (integer) : DEL
|
5
5
|
payment_sips / payment.provider / sips_merchant_id (char) : DEL
|
6
6
|
payment_sips / payment.provider / sips_prod_url (char) : DEL
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'payment_xendit'---
|
2
2
|
---Fields in module 'payment_xendit'---
|
3
|
-
payment_xendit / payment.provider / code (False) : selection_keys
|
3
|
+
payment_xendit / payment.provider / code (False) : selection_keys added: [worldline, nuvei], removed: [sips]
|
4
4
|
payment_xendit / payment.provider / xendit_public_key (char) : NEW
|
5
5
|
---XML records in module 'payment_xendit'---
|
6
6
|
NEW ir.ui.view: payment_xendit.inline_form
|
@@ -0,0 +1,145 @@
|
|
1
|
+
# Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
|
2
|
+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
|
+
|
4
|
+
from openupgradelib import openupgrade
|
5
|
+
|
6
|
+
|
7
|
+
def fill_pos_order_reversed_pos_order_id(env):
|
8
|
+
openupgrade.logged_query(
|
9
|
+
env.cr,
|
10
|
+
"""
|
11
|
+
UPDATE account_move am2
|
12
|
+
SET reversed_pos_order_id = po.id
|
13
|
+
FROM pos_order po
|
14
|
+
JOIN pos_session ps ON po.session_id = ps.id AND ps.state = 'closed'
|
15
|
+
JOIN pos_config pc ON ps.config_id = pc.id
|
16
|
+
JOIN account_journal aj ON pc.journal_id = aj.id
|
17
|
+
JOIN account_move am ON po.account_move = am.id
|
18
|
+
AND am.state = 'posted' AND am.journal_id = pc.invoice_journal_id
|
19
|
+
AND am.invoice_origin = po.name
|
20
|
+
JOIN account_move session_move ON session_move.id = ps.move_id
|
21
|
+
WHERE po.partner_id IS NOT NULL AND
|
22
|
+
am2.journal_id = pc.journal_id
|
23
|
+
-- we find correct move by looking into the ref
|
24
|
+
AND am2.ref like CONCAT('%', session_move.name, '%')
|
25
|
+
AND am2.ref like CONCAT('% ', po.name, '%')
|
26
|
+
AND am2.ref like CONCAT('%', ps.name, '%')""",
|
27
|
+
)
|
28
|
+
|
29
|
+
|
30
|
+
def fill_pos_config_customer_display_type(env):
|
31
|
+
openupgrade.logged_query(
|
32
|
+
env.cr,
|
33
|
+
"""
|
34
|
+
UPDATE pos_config pc
|
35
|
+
SET customer_display_type = CASE
|
36
|
+
WHEN pc.iface_customer_facing_display_via_proxy THEN 'proxy'
|
37
|
+
WHEN pc.iface_customer_facing_display_local THEN 'local'
|
38
|
+
ELSE 'none' END""",
|
39
|
+
)
|
40
|
+
openupgrade.logged_query(
|
41
|
+
env.cr,
|
42
|
+
"""
|
43
|
+
UPDATE pos_config pc
|
44
|
+
SET customer_display_bg_img_name = CASE
|
45
|
+
WHEN pc.customer_display_type != 'none' THEN 'image_display_' || pc.id
|
46
|
+
ELSE NULL END""",
|
47
|
+
)
|
48
|
+
|
49
|
+
|
50
|
+
def update_pos_config_show_images(env):
|
51
|
+
show_product_images = (
|
52
|
+
env["ir.config_parameter"]
|
53
|
+
.sudo()
|
54
|
+
.get_param("point_of_sale.show_product_images", "yes")
|
55
|
+
)
|
56
|
+
if show_product_images == "no":
|
57
|
+
openupgrade.logged_query(
|
58
|
+
env.cr,
|
59
|
+
"""
|
60
|
+
UPDATE pos_config pc
|
61
|
+
SET show_product_images = FALSE
|
62
|
+
""",
|
63
|
+
)
|
64
|
+
show_category_images = (
|
65
|
+
env["ir.config_parameter"]
|
66
|
+
.sudo()
|
67
|
+
.get_param("point_of_sale.show_category_images", "yes")
|
68
|
+
)
|
69
|
+
if show_category_images == "no":
|
70
|
+
openupgrade.logged_query(
|
71
|
+
env.cr,
|
72
|
+
"""
|
73
|
+
UPDATE pos_config pc
|
74
|
+
SET show_category_images = FALSE
|
75
|
+
""",
|
76
|
+
)
|
77
|
+
|
78
|
+
|
79
|
+
def fill_pos_uuid(env):
|
80
|
+
openupgrade.logged_query(
|
81
|
+
env.cr,
|
82
|
+
"""
|
83
|
+
UPDATE pos_order
|
84
|
+
SET uuid = gen_random_uuid()
|
85
|
+
""",
|
86
|
+
)
|
87
|
+
openupgrade.logged_query(
|
88
|
+
env.cr,
|
89
|
+
"""
|
90
|
+
UPDATE pos_payment
|
91
|
+
SET uuid = gen_random_uuid()
|
92
|
+
""",
|
93
|
+
)
|
94
|
+
|
95
|
+
|
96
|
+
def update_res_company_point_of_sale_ticket_portal_url_display_mode(env):
|
97
|
+
# in v17, url was always shown
|
98
|
+
openupgrade.logged_query(
|
99
|
+
env.cr,
|
100
|
+
"""
|
101
|
+
UPDATE res_company rc
|
102
|
+
SET point_of_sale_ticket_portal_url_display_mode = CASE
|
103
|
+
WHEN rc.point_of_sale_use_ticket_qr_code THEN 'qr_code_and_url'
|
104
|
+
ELSE 'url' END""",
|
105
|
+
)
|
106
|
+
|
107
|
+
|
108
|
+
@openupgrade.migrate()
|
109
|
+
def migrate(env, version):
|
110
|
+
fill_pos_order_reversed_pos_order_id(env)
|
111
|
+
fill_pos_config_customer_display_type(env)
|
112
|
+
fill_pos_uuid(env)
|
113
|
+
update_pos_config_show_images(env)
|
114
|
+
update_res_company_point_of_sale_ticket_portal_url_display_mode(env)
|
115
|
+
openupgrade.delete_records_safely_by_xml_id(
|
116
|
+
env,
|
117
|
+
[
|
118
|
+
"point_of_sale.0_01",
|
119
|
+
"point_of_sale.0_02",
|
120
|
+
],
|
121
|
+
)
|
122
|
+
imd = env["ir.model.data"].search(
|
123
|
+
[("module", "=", "point_of_sale"), ("name", "=", "pos_config_main")], limit=1
|
124
|
+
)
|
125
|
+
if imd:
|
126
|
+
imd.unlink()
|
127
|
+
imd = env["ir.model.data"].search(
|
128
|
+
[("module", "=", "point_of_sale"), ("name", "=", "product_product_consumable")],
|
129
|
+
limit=1,
|
130
|
+
)
|
131
|
+
if imd and not openupgrade.column_exists(
|
132
|
+
env.cr, "pos_config", "discount_product_id"
|
133
|
+
):
|
134
|
+
# pos_discount is not installed
|
135
|
+
imd.unlink()
|
136
|
+
else:
|
137
|
+
openupgrade.rename_xmlids(
|
138
|
+
env.cr,
|
139
|
+
[
|
140
|
+
(
|
141
|
+
"point_of_sale.product_product_consumable",
|
142
|
+
"pos_discount.product_product_consumable",
|
143
|
+
)
|
144
|
+
],
|
145
|
+
)
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# Copyright 2025 ForgeFlow S.L. (https://www.forgeflow.com)
|
2
|
+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
3
|
+
from openupgradelib import openupgrade
|
4
|
+
|
5
|
+
|
6
|
+
def set_pos_printer_company_id(env):
|
7
|
+
openupgrade.logged_query(
|
8
|
+
env.cr,
|
9
|
+
"""
|
10
|
+
UPDATE pos_printer pp
|
11
|
+
SET company_id = COALESCE(pp.company_id, pc.company_id)
|
12
|
+
FROM pos_config pc
|
13
|
+
JOIN pos_config_printer_rel rel ON rel.config_id = pc.id
|
14
|
+
WHERE rel.printer_id = pp.id AND pc.active
|
15
|
+
""",
|
16
|
+
)
|
17
|
+
openupgrade.logged_query(
|
18
|
+
env.cr,
|
19
|
+
"""
|
20
|
+
UPDATE pos_printer pp
|
21
|
+
SET company_id = COALESCE(pp.company_id, pc.company_id)
|
22
|
+
FROM pos_config pc
|
23
|
+
JOIN pos_config_printer_rel rel ON rel.config_id = pc.id
|
24
|
+
WHERE rel.printer_id = pp.id AND pc.active IS DISTINCT FROM TRUE
|
25
|
+
""",
|
26
|
+
)
|
27
|
+
openupgrade.logged_query(
|
28
|
+
env.cr,
|
29
|
+
f"""
|
30
|
+
UPDATE pos_printer pp
|
31
|
+
SET company_id = {env.company.id}
|
32
|
+
WHERE pp.company_id IS NULL
|
33
|
+
""",
|
34
|
+
)
|
35
|
+
|
36
|
+
|
37
|
+
@openupgrade.migrate()
|
38
|
+
def migrate(env, version):
|
39
|
+
openupgrade.rename_fields(
|
40
|
+
env,
|
41
|
+
[
|
42
|
+
("pos.category", "pos_category", "child_id", "child_ids"),
|
43
|
+
("pos.order", "pos_order", "note", "floating_order_name"),
|
44
|
+
(
|
45
|
+
"pos.config",
|
46
|
+
"pos_config",
|
47
|
+
"iface_customer_facing_display_background_image_1920",
|
48
|
+
"customer_display_bg_img_name",
|
49
|
+
),
|
50
|
+
],
|
51
|
+
)
|
52
|
+
if openupgrade.column_exists(env.cr, "product_template", "description_self_order"):
|
53
|
+
# from pos_self_order
|
54
|
+
openupgrade.rename_fields(
|
55
|
+
env,
|
56
|
+
[
|
57
|
+
(
|
58
|
+
"product.template",
|
59
|
+
"product_template",
|
60
|
+
"description_self_order",
|
61
|
+
"public_description",
|
62
|
+
),
|
63
|
+
],
|
64
|
+
)
|
65
|
+
openupgrade.add_columns(
|
66
|
+
env,
|
67
|
+
[
|
68
|
+
("sale.order.line", "technical_price_unit", "float"),
|
69
|
+
("pos.order", "amount_difference", "float", None, "pos_order"),
|
70
|
+
("pos.order.line", "price_type", "selection", "original", "pos_order_line"),
|
71
|
+
("pos.printer", "company_id", "many2one", None, "pos_printer"),
|
72
|
+
],
|
73
|
+
)
|
74
|
+
openupgrade.logged_query(
|
75
|
+
env.cr,
|
76
|
+
"""
|
77
|
+
UPDATE sale_order_line
|
78
|
+
SET technical_price_unit = price_unit
|
79
|
+
""",
|
80
|
+
)
|
81
|
+
openupgrade.logged_query(
|
82
|
+
env.cr,
|
83
|
+
"""
|
84
|
+
UPDATE pos_order
|
85
|
+
SET amount_difference = amount_paid - amount_total
|
86
|
+
""",
|
87
|
+
)
|
88
|
+
set_pos_printer_company_id(env)
|