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.
Files changed (60) hide show
  1. odoo/addons/openupgrade_scripts/scripts/account/18.0.1.3/upgrade_analysis.txt +6 -6
  2. odoo/addons/openupgrade_scripts/scripts/account_edi_ubl_cii/18.0.1.0/upgrade_analysis.txt +1 -1
  3. odoo/addons/openupgrade_scripts/scripts/account_peppol/18.0.1.1/upgrade_analysis.txt +2 -2
  4. odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_analysis.txt +4 -4
  5. odoo/addons/openupgrade_scripts/scripts/base/18.0.1.3/upgrade_general_log.txt +6 -3
  6. odoo/addons/openupgrade_scripts/scripts/event/18.0.1.9/upgrade_analysis.txt +2 -2
  7. odoo/addons/openupgrade_scripts/scripts/event_product/18.0.1.0/pre-migration.py +4 -3
  8. odoo/addons/openupgrade_scripts/scripts/event_sale/18.0.1.3/noupdate_changes.xml +0 -2
  9. odoo/addons/openupgrade_scripts/scripts/hr/18.0.1.1/upgrade_analysis.txt +3 -3
  10. odoo/addons/openupgrade_scripts/scripts/hr_attendance/18.0.2.0/upgrade_analysis.txt +2 -2
  11. odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/noupdate_changes.xml +0 -3
  12. odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/post-migration.py +0 -3
  13. odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/upgrade_analysis.txt +0 -1
  14. odoo/addons/openupgrade_scripts/scripts/hr_expense/18.0.2.0/upgrade_analysis_work.txt +0 -3
  15. odoo/addons/openupgrade_scripts/scripts/hr_holidays/18.0.1.6/upgrade_analysis.txt +5 -5
  16. odoo/addons/openupgrade_scripts/scripts/hr_homeworking/18.0.2.0/upgrade_analysis.txt +1 -1
  17. odoo/addons/openupgrade_scripts/scripts/hr_presence/18.0.1.0/upgrade_analysis.txt +1 -1
  18. odoo/addons/openupgrade_scripts/scripts/l10n_fr/18.0.2.1/upgrade_analysis.txt +2799 -2
  19. odoo/addons/openupgrade_scripts/scripts/l10n_fr_account/18.0.2.2/upgrade_analysis.txt +2799 -2799
  20. odoo/addons/openupgrade_scripts/scripts/l10n_id/{18.0.1.1 → 18.0.1.2}/upgrade_analysis.txt +0 -1
  21. odoo/addons/openupgrade_scripts/scripts/l10n_mx/18.0.2.3/upgrade_analysis.txt +1 -1
  22. odoo/addons/openupgrade_scripts/scripts/l10n_my_edi_extended/18.0.1.0/upgrade_analysis.txt +1 -1
  23. odoo/addons/openupgrade_scripts/scripts/l10n_my_edi_pos/18.0.1.0/upgrade_analysis.txt +52 -0
  24. odoo/addons/openupgrade_scripts/scripts/l10n_ro_edi/18.0.1.0/upgrade_analysis.txt +2 -2
  25. odoo/addons/openupgrade_scripts/scripts/l10n_ro_edi_stock/18.0.1.0/upgrade_analysis.txt +1 -1
  26. odoo/addons/openupgrade_scripts/scripts/l10n_sa/18.0.2.0/upgrade_analysis.txt +3 -5
  27. odoo/addons/openupgrade_scripts/scripts/l10n_tr_nilvera_edispatch/18.0.1.0/upgrade_analysis.txt +4 -0
  28. odoo/addons/openupgrade_scripts/scripts/mail/18.0.1.18/upgrade_analysis.txt +3 -3
  29. odoo/addons/openupgrade_scripts/scripts/mail_bot/18.0.1.2/upgrade_analysis.txt +1 -1
  30. odoo/addons/openupgrade_scripts/scripts/mrp_account/18.0.1.0/upgrade_analysis.txt +1 -1
  31. odoo/addons/openupgrade_scripts/scripts/payment/18.0.2.0/upgrade_analysis.txt +2 -2
  32. odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/noupdate_changes.xml +1 -1
  33. odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/noupdate_changes_work.xml +7 -0
  34. odoo/addons/openupgrade_scripts/scripts/payment_custom/18.0.2.0/post-migration.py +1 -1
  35. odoo/addons/openupgrade_scripts/scripts/payment_paypal/18.0.2.0/upgrade_analysis.txt +1 -1
  36. odoo/addons/openupgrade_scripts/scripts/payment_razorpay/18.0.1.0/upgrade_analysis.txt +1 -1
  37. odoo/addons/openupgrade_scripts/scripts/payment_stripe/18.0.2.0/upgrade_analysis.txt +1 -1
  38. odoo/addons/openupgrade_scripts/scripts/payment_worldline/18.0.1.0/upgrade_analysis.txt +1 -1
  39. odoo/addons/openupgrade_scripts/scripts/payment_xendit/18.0.1.0/upgrade_analysis.txt +1 -1
  40. odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/post-migration.py +145 -0
  41. odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/pre-migration.py +88 -0
  42. odoo/addons/openupgrade_scripts/scripts/point_of_sale/18.0.1.0.2/upgrade_analysis_work.txt +202 -0
  43. odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/post-migration.py +5 -0
  44. odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/pre-migration.py +25 -3
  45. odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/upgrade_analysis.txt +2 -2
  46. odoo/addons/openupgrade_scripts/scripts/product/18.0.1.2/upgrade_analysis_work.txt +19 -2
  47. odoo/addons/openupgrade_scripts/scripts/project/18.0.1.3/noupdate_changes.xml +3 -0
  48. odoo/addons/openupgrade_scripts/scripts/project/18.0.1.3/upgrade_analysis.txt +8 -8
  49. odoo/addons/openupgrade_scripts/scripts/purchase_requisition/18.0.0.1/upgrade_analysis.txt +1 -1
  50. odoo/addons/openupgrade_scripts/scripts/sale/18.0.1.2/upgrade_analysis.txt +1 -1
  51. odoo/addons/openupgrade_scripts/scripts/survey/18.0.3.7/upgrade_analysis.txt +2 -2
  52. odoo/addons/openupgrade_scripts/scripts/web_hierarchy/18.0.1.0/upgrade_analysis.txt +2 -2
  53. odoo/addons/openupgrade_scripts/scripts/website_event/18.0.1.4/upgrade_analysis.txt +0 -1
  54. odoo/addons/openupgrade_scripts/scripts/website_sale/18.0.1.1/upgrade_analysis.txt +1 -1
  55. odoo/addons/openupgrade_scripts/scripts/website_sale_collect/18.0.1.0/upgrade_analysis.txt +2 -2
  56. {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
  57. {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
  58. /odoo/addons/openupgrade_scripts/scripts/l10n_sa_edi/{18.0.0.1 → 18.0.0.2}/upgrade_analysis.txt +0 -0
  59. {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
  60. {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
@@ -0,0 +1,202 @@
1
+ ---Models in module 'point_of_sale'---
2
+ obsolete model pos.combo (renamed to product.combo in module product)
3
+ obsolete model pos.combo.line (renamed to product.combo.item in module product)
4
+ new model pos.bus.mixin [abstract]
5
+ new model pos.load.mixin [abstract]
6
+ new model pos.note
7
+ ---Fields in module 'point_of_sale'---
8
+ point_of_sale / account.move / pos_session_ids (one2many) : NEW relation: pos.session
9
+ # NOTHING TO DO
10
+
11
+ point_of_sale / account.move / reversed_pos_order_id (many2one): NEW relation: pos.order
12
+ # DONE: post-migration: filled by looking into the move ref
13
+
14
+ point_of_sale / pos.bill / for_all_config (boolean) : NEW hasdefault: default
15
+ # NOTHING TO DO: new functionality
16
+
17
+ point_of_sale / pos.category / child_id (one2many) : DEL relation: pos.category
18
+ point_of_sale / pos.category / child_ids (one2many) : NEW relation: pos.category
19
+ # DONE: pre-migration: renamed fields
20
+
21
+ point_of_sale / pos.category / color (integer) : NEW hasdefault: default
22
+ # NOTHING TO DO: new functionality
23
+
24
+ point_of_sale / pos.combo / _order : module is now 'product' ('point_of_sale')
25
+ point_of_sale / pos.combo / base_price (float) : module is now 'product' ('point_of_sale')
26
+ point_of_sale / pos.combo / display_name (char) : module is now 'product' ('point_of_sale')
27
+ point_of_sale / pos.combo / name (char) : module is now 'product' ('point_of_sale')
28
+ point_of_sale / pos.combo / sequence (integer) : module is now 'product' ('point_of_sale')
29
+ point_of_sale / pos.combo.line / _order : module is now 'product' ('point_of_sale')
30
+ point_of_sale / pos.combo.line / combo_id (many2one) : module is now 'product' ('point_of_sale')
31
+ point_of_sale / pos.combo.line / display_name (char) : module is now 'product' ('point_of_sale')
32
+ point_of_sale / pos.combo.line / lst_price (float) : module is now 'product' ('point_of_sale')
33
+ point_of_sale / pos.combo.line / product_id (many2one) : module is now 'product' ('point_of_sale')
34
+ point_of_sale / product.product / combo_ids (many2many) : module is now 'product' ('point_of_sale')
35
+ point_of_sale / product.template / combo_ids (many2many) : module is now 'product' ('point_of_sale')
36
+ # NOTHING TO DO: this is just informative
37
+
38
+ point_of_sale / pos.combo / combo_line_ids (one2many) : DEL relation: pos.combo.line
39
+ point_of_sale / pos.combo.line / combo_price (float) : DEL
40
+ # NOTHING TO DO: already renamed in 'product' module
41
+
42
+ point_of_sale / pos.config / access_token (char) : previously in module pos_self_order
43
+ point_of_sale / pos.config / basic_receipt (boolean) : NEW
44
+ # NOTHING TO DO: new functionality
45
+
46
+ point_of_sale / pos.config / customer_display_bg_img (binary): NEW attachment: True
47
+ point_of_sale / pos.config / iface_customer_facing_display_background_image_1920 (binary): DEL attachment: True
48
+ # DONE: pre-migration: renames
49
+
50
+ point_of_sale / pos.config / customer_display_type (selection): NEW selection_keys: function, hasdefault: default
51
+ point_of_sale / pos.config / iface_customer_facing_display_local (boolean): DEL
52
+ point_of_sale / pos.config / iface_customer_facing_display_via_proxy (boolean): DEL
53
+ # DONE: post-migration: filled customer_display_type
54
+
55
+ point_of_sale / pos.config / customer_display_bg_img_name (char): NEW
56
+ # DONE: post-migration: added a "name" when customer_display_type != 'none'
57
+
58
+ point_of_sale / pos.config / iface_start_categ_id (many2one): DEL relation: pos.category
59
+ point_of_sale / pos.config / start_category (boolean) : DEL
60
+ # NOTHING TO DO: https://github.com/odoo/odoo/commit/a53383143f2ab0ca2963bfac663165ec1244c9d3
61
+
62
+ point_of_sale / pos.config / is_closing_entry_by_product (boolean): NEW
63
+ # NOTHING TO DO: new functionality
64
+
65
+ point_of_sale / pos.config / module_pos_avatax (boolean) : NEW
66
+ point_of_sale / pos.config / module_pos_mercury (boolean) : DEL
67
+ point_of_sale / pos.config / module_pos_sms (boolean) : NEW
68
+ # NOTHING TO DO
69
+
70
+ point_of_sale / pos.config / note_ids (many2many) : NEW relation: pos.note
71
+ point_of_sale / pos.note / name (char) : NEW required
72
+ point_of_sale / pos.note / sequence (integer) : NEW hasdefault: default
73
+ # NOTHING TO DO: new functionality
74
+
75
+ point_of_sale / pos.config / order_edit_tracking (boolean) : NEW hasdefault: default
76
+ point_of_sale / pos.order / has_deleted_line (boolean) : NEW
77
+ point_of_sale / pos.order.line / is_edited (boolean) : NEW hasdefault: default
78
+ # NOTHING TO DO: new functionality
79
+
80
+ point_of_sale / pos.config / orderlines_sequence_in_cart_by_category (boolean): NEW hasdefault: default
81
+ # NOTHING TO DO: new functionality
82
+
83
+ point_of_sale / pos.config / show_category_images (boolean): NEW hasdefault: default
84
+ point_of_sale / pos.config / show_product_images (boolean) : NEW hasdefault: default
85
+ # DONE: post-migration: default is true, so set False if corresponding old ir.config_parameter is 'no'
86
+
87
+ point_of_sale / pos.order / amount_difference (float) : NEW
88
+ # DONE: pre-migration: pre-create and fill (amount_paid - amount_total)
89
+
90
+ point_of_sale / pos.order / email (char) : NEW hasdefault: compute
91
+ point_of_sale / pos.order / mobile (char) : NEW hasdefault: compute
92
+ # NOTHING TO DO: let the compute fill it
93
+
94
+ point_of_sale / pos.order / note (text) : DEL
95
+ point_of_sale / pos.order / floating_order_name (char) : NEW
96
+ # DONE: pre-migration: renamed field
97
+
98
+ point_of_sale / pos.order / general_note (text) : NEW
99
+ # NOTHING TO DO: new functionality
100
+
101
+ point_of_sale / pos.order / message_follower_ids (one2many): NEW relation: mail.followers
102
+ point_of_sale / pos.order / message_ids (one2many) : NEW relation: mail.message
103
+ point_of_sale / pos.order / rating_ids (one2many) : NEW relation: rating.rating
104
+ point_of_sale / pos.order / website_message_ids (one2many): NEW relation: mail.message
105
+ # NOTHING TO DO: one2many
106
+
107
+ point_of_sale / pos.order / uuid (char) : NEW
108
+ point_of_sale / pos.payment / uuid (char) : NEW
109
+ # DONE: post-migration: fill them
110
+
111
+ point_of_sale / pos.order.line / combo_item_id (many2one) : NEW relation: product.combo.item
112
+ # NOTHING TO DO?
113
+
114
+ point_of_sale / pos.order.line / note (char) : previously in module pos_restaurant
115
+ # NOTHING TO DO
116
+
117
+ point_of_sale / pos.order.line / price_type (selection) : NEW selection_keys: ['automatic', 'manual', 'original'], hasdefault: default
118
+ # DONE: pre-migration: pre-create and fill
119
+
120
+ point_of_sale / pos.payment / card_brand (char) : NEW
121
+ point_of_sale / pos.payment / card_no (char) : NEW
122
+ point_of_sale / pos.payment / payment_method_authcode (char): NEW
123
+ point_of_sale / pos.payment / payment_method_issuer_bank (char): NEW
124
+ point_of_sale / pos.payment / payment_method_payment_mode (char): NEW
125
+ point_of_sale / pos.payment / payment_ref_no (char) : NEW
126
+ # NOTHING TO DO: fields to be filled in pos_paytm and pos_razorpay
127
+
128
+ point_of_sale / pos.payment.method / payment_method_type (selection): NEW required, selection_keys: function, hasdefault: default
129
+ point_of_sale / pos.payment.method / qr_code_method (selection) : NEW selection_keys: function
130
+ # NOTHING TO DO: new functionality
131
+
132
+ point_of_sale / pos.printer / company_id (many2one) : NEW relation: res.company, required, hasdefault: default
133
+ # DONE: pre-migration: fill using pos.config company_id
134
+
135
+ point_of_sale / product.template / color (False) : NEW mode: modify, hasdefault: compute
136
+ # NOTHING TO DO: let ORM fill it
137
+
138
+ point_of_sale / product.template / public_description (html) : NEW
139
+ # DONE: pre-migration: renamed from description_self_order of description_self_order
140
+
141
+ point_of_sale / product.template / detailed_type (False) : DEL selection_keys: ['combo', 'consu', 'product', 'service'], mode: modify
142
+ point_of_sale / product.template / type (False) : DEL selection_keys: ['combo', 'consu', 'product', 'service'], mode: modify
143
+ # NOTHING TO DO
144
+
145
+ point_of_sale / res.company / point_of_sale_ticket_portal_url_display_mode (selection): NEW required, selection_keys: ['qr_code', 'qr_code_and_url', 'url'], hasdefault: default
146
+ # DONE: post-migration: set to 'url' if point_of_sale_use_ticket_qr_code is False (or 'qr_code_and_url' is true)
147
+
148
+ ---XML records in module 'point_of_sale'---
149
+ NEW ir.actions.act_window: point_of_sale.action_pos_note_model
150
+ NEW ir.actions.act_window: point_of_sale.product_product_action_add_pos
151
+ NEW ir.actions.act_window: point_of_sale.product_product_action_edit_pos
152
+ NEW ir.actions.act_window: point_of_sale.res_partner_action_edit_pos
153
+ DEL ir.actions.act_window: point_of_sale.action_pos_combo
154
+ NEW ir.actions.server: point_of_sale.action_send_mail
155
+ NEW ir.actions.server: point_of_sale.pos_order_set_cancel
156
+ NEW ir.model.access: point_of_sale.access_account_journal_item
157
+ NEW ir.model.access: point_of_sale.access_pos_note
158
+ NEW ir.model.access: point_of_sale.access_pos_note_manager
159
+ NEW ir.model.access: point_of_sale.access_product_combo_item_pos_manager
160
+ NEW ir.model.access: point_of_sale.access_product_combo_item_pos_user
161
+ NEW ir.model.access: point_of_sale.access_product_combo_pos_manager
162
+ NEW ir.model.access: point_of_sale.access_product_combo_pos_user
163
+ NEW ir.model.access: point_of_sale.access_update_product_attribute_value_pos_manager
164
+ DEL ir.model.access: point_of_sale.access_pos_combo_line_manager
165
+ DEL ir.model.access: point_of_sale.access_pos_combo_line_user
166
+ DEL ir.model.access: point_of_sale.access_pos_combo_manager
167
+ DEL ir.model.access: point_of_sale.access_pos_combo_user
168
+ NEW ir.model.constraint: point_of_sale.constraint_pos_note_name_unique
169
+ NEW ir.rule: point_of_sale.rule_invoice_line_pos_user (noupdate)
170
+ NEW ir.ui.menu: point_of_sale.menu_pos_note_model
171
+ NEW ir.ui.menu: point_of_sale.menu_product_combo
172
+ DEL ir.ui.menu: point_of_sale.menu_pos_combo
173
+ NEW ir.ui.view: point_of_sale.customer_display_index
174
+ NEW ir.ui.view: point_of_sale.pos_daily_sales_html_container
175
+ NEW ir.ui.view: point_of_sale.pos_daily_sales_report_layout
176
+ NEW ir.ui.view: point_of_sale.pos_session_sales_details
177
+ NEW ir.ui.view: point_of_sale.product_combo_view_form
178
+ NEW ir.ui.view: point_of_sale.product_product_view_form_normalized_pos
179
+ NEW ir.ui.view: point_of_sale.view_pos_note_tree
180
+ DEL ir.ui.view: point_of_sale.account_product_template_form_view
181
+ DEL ir.ui.view: point_of_sale.qunit_suite
182
+ DEL ir.ui.view: point_of_sale.view_pos_combo_form
183
+ DEL ir.ui.view: point_of_sale.view_pos_combo_tree
184
+ NEW mail.template: point_of_sale.pos_email_marketing_template (noupdate)
185
+ # NOTHING TO DO
186
+
187
+ DEL pos.bill: point_of_sale.0_01 (noupdate)
188
+ DEL pos.bill: point_of_sale.0_02 (noupdate)
189
+ # DONE: post-migration: safely delete
190
+
191
+ DEL pos.config: point_of_sale.pos_config_main (noupdate)
192
+ # DONE: post-migration: just remove ir_model_data
193
+
194
+ NEW pos.note: point_of_sale.pos_note_emergency
195
+ NEW pos.note: point_of_sale.pos_note_no_dressing
196
+ NEW pos.note: point_of_sale.pos_note_serve
197
+ NEW pos.note: point_of_sale.pos_note_wait
198
+ NEW web_tour.tour: point_of_sale.point_of_sale_tour
199
+ # NOTHING TO DO
200
+
201
+ DEL product.product: point_of_sale.product_product_consumable [renamed to pos_discount module] (noupdate)
202
+ # DONE: post-migration: delete ir_model_data if pos_discount is not installed, else rename it
@@ -65,9 +65,14 @@ def res_partner_specific_property_product_pricelist(env):
65
65
  env["ir.default"].search([("field_id", "=", new_field.id)]).unlink()
66
66
 
67
67
 
68
+ def delete_combo_items_without_combo(env):
69
+ env["product.combo.item"].search([("combo_id", "=", False)]).unlink()
70
+
71
+
68
72
  @openupgrade.migrate()
69
73
  def migrate(env, version):
70
74
  product_document_sequence(env)
71
75
  product_template_is_favorite(env)
72
76
  res_partner_specific_property_product_pricelist(env)
77
+ delete_combo_items_without_combo(env)
73
78
  openupgrade_180.convert_company_dependent(env, "product.product", "standard_price")
@@ -8,8 +8,8 @@ xmlid_renames = [
8
8
  ]
9
9
 
10
10
  column_creates = [
11
- ("product.attribute", "active", "boolean", "TRUE"),
12
- ("product.attribute.value", "active", "boolean", "TRUE"),
11
+ ("product.attribute", "active", "boolean", True),
12
+ ("product.attribute.value", "active", "boolean", True),
13
13
  ("product.pricelist.item", "display_applied_on", "char"),
14
14
  ("product.pricelist.item", "price_markup", "float"),
15
15
  ]
@@ -22,14 +22,22 @@ def rename_pos_models(env):
22
22
  """
23
23
  if not openupgrade.table_exists(env.cr, "pos_combo"):
24
24
  return
25
-
26
25
  openupgrade.rename_tables(
27
26
  env.cr,
28
27
  [
29
28
  ("pos_combo", "product_combo"),
30
29
  ("pos_combo_line", "product_combo_item"),
30
+ ("pos_combo_product_template_rel", "product_combo_product_template_rel"),
31
31
  ],
32
32
  )
33
+ openupgrade.rename_columns(
34
+ env.cr,
35
+ {
36
+ "product_combo_product_template_rel": [
37
+ ("pos_combo_id", "product_combo_id"),
38
+ ]
39
+ },
40
+ )
33
41
  openupgrade.rename_models(
34
42
  env.cr,
35
43
  [
@@ -65,9 +73,23 @@ def fill_product_pricelist_item_columns(env):
65
73
  )
66
74
 
67
75
 
76
+ def assure_service_tracking(env):
77
+ if not openupgrade.column_exists(env.cr, "product_template", "service_tracking"):
78
+ return
79
+ openupgrade.logged_query(
80
+ env.cr,
81
+ """
82
+ UPDATE product_template
83
+ SET service_tracking = 'no'
84
+ WHERE service_tracking IS NULL
85
+ """,
86
+ )
87
+
88
+
68
89
  @openupgrade.migrate()
69
90
  def migrate(env, version):
70
91
  openupgrade.rename_xmlids(env.cr, xmlid_renames)
71
92
  openupgrade.add_columns(env, column_creates)
72
93
  fill_product_pricelist_item_columns(env)
73
94
  rename_pos_models(env)
95
+ assure_service_tracking(env)
@@ -48,11 +48,11 @@ product / product.template / is_favorite (boolean) : NEW
48
48
  product / product.template / priority (selection) : DEL selection_keys: ['0', '1']
49
49
  product / product.template / service_tracking (selection) : previously in module sale_project
50
50
  product / product.template / type (selection) : now required
51
- product / product.template / type (selection) : selection_keys is now '['combo', 'consu', 'service']' ('['consu', 'service']')
51
+ product / product.template / type (selection) : selection_keys added: [combo] (most likely nothing to do)
52
52
  product / res.partner / specific_property_product_pricelist (many2one): NEW relation: product.pricelist
53
53
  sale_project / product.product / service_tracking (selection) : now required
54
54
  sale_project / product.template / service_tracking (selection) : now required
55
- sale_project / product.template / service_tracking (selection) : selection_keys is now '['no']' ('['no', 'project_only', 'task_global_project', 'task_in_project']')
55
+ sale_project / product.template / service_tracking (selection) : selection_keys removed: [task_global_project, task_in_project, project_only]
56
56
  ---XML records in module 'product'---
57
57
  NEW ir.actions.act_window: product.product_combo_action
58
58
  NEW ir.model.access: product.access_product_combo_item_manager
@@ -1,12 +1,24 @@
1
1
  ---Models in module 'product'---
2
- new model product.combo
3
- new model product.combo.item
2
+ new model product.combo (renamed from pos.combo in module point_of_sale)
3
+ new model product.combo.item (renamed from pos.combo.line in module point_of_sale)
4
4
  # DONE: pre-migration: rename models and fields from point_of_sale models if installed
5
5
 
6
6
  new model update.product.attribute.value [transient]
7
7
  # NOTHING TO DO: new functionality
8
8
 
9
9
  ---Fields in module 'product'---
10
+ point_of_sale / pos.combo.line / combo_id (many2one) : now required
11
+ # DONE: post-migration: delete lines without combo_id
12
+
13
+ point_of_sale / pos.combo.line / combo_id (many2one) : relation is now 'product.combo' ('pos.combo') [nothing to do]
14
+ point_of_sale / product.product / combo_ids (many2many) : relation is now 'product.combo' ('pos.combo') [nothing to do]
15
+ point_of_sale / product.template / combo_ids (many2many) : relation is now 'product.combo' ('pos.combo') [nothing to do]
16
+ # NOTHING TO DO
17
+
18
+ point_of_sale / product.template / combo_ids (many2many) : column2 is now 'product_combo_id' ('pos_combo_id') [pos_combo_product_template_rel]
19
+ point_of_sale / product.template / combo_ids (many2many) : table is now 'product_combo_product_template_rel' ('pos_combo_product_template_rel')
20
+ # DONE: pre-migration: renamed column and table
21
+
10
22
  product / product.attribute / active (boolean) : NEW hasdefault: default
11
23
  # DONE: added in pre-migration
12
24
 
@@ -80,6 +92,11 @@ product / product.template / type (selection) : select
80
92
  product / res.partner / specific_property_product_pricelist (many2one): NEW relation: product.pricelist
81
93
  # DONE: post-migration: convert from v17 property res.partner#property_product_pricelist
82
94
 
95
+ sale_project / product.product / service_tracking (selection) : now required
96
+ sale_project / product.template / service_tracking (selection) : now required
97
+ sale_project / product.template / service_tracking (selection) : selection_keys is now '['no']' ('['no', 'project_only', 'task_global_project', 'task_in_project']')
98
+ # DONE: pre-migration: add default 'no' if service_tracking is null
99
+
83
100
  ---XML records in module 'product'---
84
101
  NEW ir.actions.act_window: product.product_combo_action
85
102
  NEW ir.model.access: product.access_product_combo_item_manager
@@ -18,6 +18,9 @@
18
18
  <field name="description">Task cancelled</field>
19
19
  <field name="name">Task Cancelled</field>
20
20
  </record>
21
+ <record id="project_project_stage_3" model="project.project.stage">
22
+ <field name="name">Cancelled</field>
23
+ </record>
21
24
  <record id="project_task_rule_portal" model="ir.rule">
22
25
  <field name="domain_force">[
23
26
  ('project_id.privacy_visibility', '=', 'portal'),
@@ -28,14 +28,14 @@ NEW ir.actions.act_window.view: project.project_task_action_from_partner_kanban_
28
28
  NEW ir.actions.act_window.view: project.project_task_action_from_partner_tree_view
29
29
  NEW ir.embedded.actions: project.project_embedded_action_all_tasks_dashboard
30
30
  NEW ir.embedded.actions: project.project_embedded_action_project_updates
31
- NEW ir.exports: project.project_task_export_template
32
- NEW ir.exports.line: project.project_task_export_template_line_id
33
- NEW ir.exports.line: project.project_task_export_template_line_name
34
- NEW ir.exports.line: project.project_task_export_template_line_project_id
35
- NEW ir.exports.line: project.project_task_export_template_line_stage_id
36
- NEW ir.exports.line: project.project_task_export_template_line_state
37
- NEW ir.exports.line: project.project_task_export_template_line_tag_ids
38
- NEW ir.exports.line: project.project_task_export_template_line_user_ids
31
+ NEW ir.exports: project.project_task_export_template (noupdate)
32
+ NEW ir.exports.line: project.project_task_export_template_line_id (noupdate)
33
+ NEW ir.exports.line: project.project_task_export_template_line_name (noupdate)
34
+ NEW ir.exports.line: project.project_task_export_template_line_project_id (noupdate)
35
+ NEW ir.exports.line: project.project_task_export_template_line_stage_id (noupdate)
36
+ NEW ir.exports.line: project.project_task_export_template_line_state (noupdate)
37
+ NEW ir.exports.line: project.project_task_export_template_line_tag_ids (noupdate)
38
+ NEW ir.exports.line: project.project_task_export_template_line_user_ids (noupdate)
39
39
  NEW ir.model.access: project.access_project_share_collaborator_manager
40
40
  NEW ir.rule: project.task_visibility_rule_project_user [renamed from project_todo module] (noupdate)
41
41
  NEW ir.ui.view: project.open_view_blocked_by_list_view
@@ -10,7 +10,7 @@ purchase_requisition / purchase.requisition / origin (char)
10
10
  purchase_requisition / purchase.requisition / reference (char) : NEW
11
11
  purchase_requisition / purchase.requisition / requisition_type (selection) : NEW required, selection_keys: ['blanket_order', 'purchase_template'], hasdefault: default
12
12
  purchase_requisition / purchase.requisition / schedule_date (date) : DEL
13
- purchase_requisition / purchase.requisition / state (selection) : selection_keys is now '['cancel', 'confirmed', 'done', 'draft']' ('['cancel', 'done', 'draft', 'in_progress', 'ongoing', 'open']')
13
+ purchase_requisition / purchase.requisition / state (selection) : selection_keys added: [confirmed], removed: [ongoing, open, in_progress]
14
14
  purchase_requisition / purchase.requisition / type_id (many2one) : DEL relation: purchase.requisition.type, required
15
15
  purchase_requisition / purchase.requisition.line / analytic_distribution_search (json): DEL stored: False
16
16
  purchase_requisition / purchase.requisition.line / schedule_date (date) : DEL
@@ -1,7 +1,7 @@
1
1
  ---Models in module 'sale'---
2
2
  ---Fields in module 'sale'---
3
3
  l10n_it_edi_doi / sale.order.line / qty_invoiced_posted (float) : not stored anymore
4
- sale / account.analytic.applicability / business_domain (False) : selection_keys is now '['bill', 'expense', 'general', 'invoice', 'manufacturing_order', 'purchase_order', 'sale_order', 'stock_picking', 'timesheet']' ('['bill', 'expense', 'general', 'invoice', 'manufacturing_order', 'purchase_order', 'sale_order']')
4
+ sale / account.analytic.applicability / business_domain (False) : selection_keys added: [stock_picking, timesheet] (most likely nothing to do)
5
5
  sale / account.move.line / is_downpayment (boolean) : module is now 'purchase' ('sale')
6
6
  sale / product.category / property_account_downpayment_categ_id (many2one): NEW relation: account.account
7
7
  sale / product.document / attached_on (selection) : DEL selection_keys: ['quotation', 'sale_order']
@@ -1,7 +1,7 @@
1
1
  ---Models in module 'survey'---
2
2
  ---Fields in module 'survey'---
3
3
  survey / survey.question / is_time_customized (boolean) : NEW
4
- survey / survey.question / question_type (selection) : selection_keys is now '['char_box', 'date', 'datetime', 'matrix', 'multiple_choice', 'numerical_box', 'scale', 'simple_choice', 'text_box']' ('['char_box', 'date', 'datetime', 'matrix', 'multiple_choice', 'numerical_box', 'simple_choice', 'text_box']')
4
+ survey / survey.question / question_type (selection) : selection_keys added: [scale] (most likely nothing to do)
5
5
  survey / survey.question / scale_max (integer) : NEW hasdefault: default
6
6
  survey / survey.question / scale_max_label (char) : NEW translate
7
7
  survey / survey.question / scale_mid_label (char) : NEW translate
@@ -9,7 +9,7 @@ survey / survey.question / scale_min (integer) : NEW ha
9
9
  survey / survey.question / scale_min_label (char) : NEW translate
10
10
  survey / survey.survey / restrict_user_ids (many2many) : NEW relation: res.users
11
11
  survey / survey.survey / session_speed_rating_time_limit (integer): NEW
12
- survey / survey.user_input.line / answer_type (selection) : selection_keys is now '['char_box', 'date', 'datetime', 'numerical_box', 'scale', 'suggestion', 'text_box']' ('['char_box', 'date', 'datetime', 'numerical_box', 'suggestion', 'text_box']')
12
+ survey / survey.user_input.line / answer_type (selection) : selection_keys added: [scale] (most likely nothing to do)
13
13
  survey / survey.user_input.line / value_scale (integer) : NEW
14
14
  ---XML records in module 'survey'---
15
15
  NEW ir.actions.server: survey.action_survey_print
@@ -1,5 +1,5 @@
1
1
  ---Models in module 'web_hierarchy'---
2
2
  ---Fields in module 'web_hierarchy'---
3
- web_hierarchy / ir.actions.act_window.view / view_mode (False) : selection_keys is now '['calendar', 'form', 'graph', 'hierarchy', 'kanban', 'list', 'pivot']' ('['calendar', 'form', 'gantt', 'graph', 'hierarchy', 'kanban', 'pivot', 'tree']')
4
- web_hierarchy / ir.ui.view / type (False) : selection_keys is now '['calendar', 'form', 'graph', 'hierarchy', 'kanban', 'list', 'pivot', 'qweb', 'search']' ('['calendar', 'form', 'gantt', 'graph', 'hierarchy', 'kanban', 'pivot', 'qweb', 'search', 'tree']')
3
+ web_hierarchy / ir.actions.act_window.view / view_mode (False) : selection_keys added: [list], removed: [tree, gantt]
4
+ web_hierarchy / ir.ui.view / type (False) : selection_keys added: [list], removed: [tree, gantt]
5
5
  ---XML records in module 'web_hierarchy'---
@@ -41,7 +41,6 @@ DEL ir.actions.act_window: website_event.action_event_registration_report [renam
41
41
  NEW ir.filters: website_event.ir_filters_event_list_snippet_unfinished
42
42
  DEL ir.model.access: website_event.access_event_question_answer_employee [renamed to event module]
43
43
  DEL ir.model.access: website_event.access_event_question_answer_registration [renamed to event module]
44
- DEL ir.model.access: website_event.access_event_question_answer_user [renamed to event module]
45
44
  DEL ir.model.access: website_event.access_event_question_employee
46
45
  DEL ir.model.access: website_event.access_event_registration_answer [renamed to event module]
47
46
  DEL ir.model.constraint: website_event.constraint_event_registration_answer_value_check [renamed to event module]
@@ -12,7 +12,7 @@ website_sale / product.ribbon / text_color (char) : now re
12
12
  website_sale / sale.order / access_point_address (json) : DEL
13
13
  website_sale / sale.order.line / linked_line_id (many2one) : module is now 'sale' ('website_sale')
14
14
  website_sale / sale.order.line / option_line_ids (one2many) : DEL relation: sale.order.line
15
- website_sale / website / add_to_cart_action (selection): selection_keys is now '['force_dialog', 'go_to_cart', 'stay']' ('['go_to_cart', 'stay']')
15
+ website_sale / website / add_to_cart_action (selection): selection_keys added: [force_dialog] (most likely nothing to do)
16
16
  website_sale / website / ecommerce_access (selection) : NEW required, selection_keys: ['everyone', 'logged_in'], hasdefault: default
17
17
  website_sale / website / shop_gap (char) : NEW hasdefault: default
18
18
  website_sale_product_configurator / website / add_to_cart_action (False) : DEL selection_keys: ['force_dialog', 'go_to_cart', 'stay'], mode: modify
@@ -2,9 +2,9 @@
2
2
  ---Fields in module 'website_sale_collect'---
3
3
  website_sale_collect / delivery.carrier / warehouse_ids (many2many) : NEW relation: stock.warehouse
4
4
  website_sale_collect / stock.warehouse / opening_hours (many2one) : NEW relation: resource.calendar
5
- website_sale_picking / delivery.carrier / delivery_type (False) : selection_keys is now '['base_on_rule', 'fixed', 'gelato', 'in_store']' ('['base_on_rule', 'fixed', 'onsite']')
5
+ website_sale_picking / delivery.carrier / delivery_type (False) : selection_keys added: [gelato, in_store], removed: [onsite]
6
6
  website_sale_picking / delivery.carrier / warehouse_id (many2one) : DEL relation: stock.warehouse
7
- website_sale_picking / payment.provider / custom_mode (False) : selection_keys is now '['on_site', 'wire_transfer']' ('['onsite', 'wire_transfer']')
7
+ website_sale_picking / payment.provider / custom_mode (False) : selection_keys added: [on_site], removed: [onsite]
8
8
  ---XML records in module 'website_sale_collect'---
9
9
  NEW delivery.carrier: website_sale_collect.carrier_pick_up_in_store (noupdate)
10
10
  DEL delivery.carrier: website_sale_picking.default_onsite_carrier (noupdate)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 18.0.1.0.0.151
3
+ Version: 18.0.1.0.0.158
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo==18.0.*
6
6
  Requires-Dist: openupgradelib