odoo-addon-openupgrade-scripts 17.0.1.0.1.284__py3-none-any.whl → 17.0.1.0.1.295__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 (27) hide show
  1. odoo/addons/openupgrade_scripts/apriori.py +2 -0
  2. odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis.txt +0 -3
  3. odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/upgrade_general_log.txt +8 -34
  4. odoo/addons/openupgrade_scripts/scripts/delivery/17.0.1.0/post-migration.py +6 -0
  5. odoo/addons/openupgrade_scripts/scripts/delivery/17.0.1.0/pre-migration.py +135 -0
  6. odoo/addons/openupgrade_scripts/scripts/delivery/17.0.1.0/upgrade_analysis_work.txt +2 -4
  7. odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/pre-migration.py +11 -0
  8. odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/upgrade_analysis.txt +4 -16
  9. odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/upgrade_analysis_work.txt +3 -15
  10. odoo/addons/openupgrade_scripts/scripts/l10n_ar/17.0.3.6/upgrade_analysis.txt +503 -0
  11. odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/upgrade_analysis.txt +2 -0
  12. odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/noupdate_changes.xml +2 -2
  13. odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/post-migration.py +54 -0
  14. odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/pre-migration.py +76 -0
  15. odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/upgrade_analysis_work.txt +169 -0
  16. odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis.txt +0 -2
  17. odoo/addons/openupgrade_scripts/scripts/sale/17.0.1.2/upgrade_analysis_work.txt +1 -1
  18. odoo/addons/openupgrade_scripts/scripts/sale_pdf_quote_builder/17.0.1.0/upgrade_analysis.txt +14 -0
  19. odoo/addons/openupgrade_scripts/scripts/sale_timesheet/17.0.1.0/upgrade_analysis.txt +0 -1
  20. odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/post-migration.py +12 -0
  21. odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/upgrade_analysis.txt +4 -0
  22. odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/upgrade_analysis_work.txt +6 -0
  23. odoo/addons/openupgrade_scripts/scripts/website_sale_wishlist/17.0.1.0/upgrade_analysis_work.txt +19 -0
  24. {odoo_addon_openupgrade_scripts-17.0.1.0.1.284.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.295.dist-info}/METADATA +1 -1
  25. {odoo_addon_openupgrade_scripts-17.0.1.0.1.284.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.295.dist-info}/RECORD +27 -22
  26. {odoo_addon_openupgrade_scripts-17.0.1.0.1.284.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.295.dist-info}/WHEEL +0 -0
  27. {odoo_addon_openupgrade_scripts-17.0.1.0.1.284.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.295.dist-info}/top_level.txt +0 -0
@@ -31,11 +31,13 @@ merged_modules = {
31
31
  "pos_daily_sales_reports": "point_of_sale",
32
32
  "pos_epson_printer_restaurant": "point_of_sale",
33
33
  "purchase_price_diff": "purchase_stock",
34
+ "sale_quotation_builder": "sale_pdf_quote_builder",
34
35
  "spreadsheet_dashboard_sale_expense": "spreadsheet_dashboard_hr_expense",
35
36
  "web_kanban_gauge": "web",
36
37
  "website_event_crm_questions": "website_event_crm",
37
38
  "website_event_questions": "website_event",
38
39
  "website_sale_delivery": "website_sale",
40
+ "website_sale_digital": "website_sale",
39
41
  "website_sale_loyalty_delivery": "website_sale_loyalty",
40
42
  "website_sale_stock_product_configurator": "website_sale_product_configurator",
41
43
  # OCA/account-invoicing
@@ -273,7 +273,6 @@ account / res.company / property_stock_account_input_categ_id
273
273
  account / res.company / property_stock_account_output_categ_id (many2one): DEL relation: account.account
274
274
  account / res.company / property_stock_valuation_account_id (many2one): DEL relation: account.account
275
275
  account / res.company / rating_ids (one2many) : NEW relation: rating.rating
276
- account / res.partner / supplier_invoice_count (integer): module is now 'purchase' ('account')
277
276
  account / res.partner.bank / activity_user_id (many2one) : not related anymore
278
277
  account / res.partner.bank / activity_user_id (many2one) : now a function
279
278
  account / res.partner.bank / has_iban_warning (boolean) : NEW isfunction: function, stored
@@ -281,7 +280,6 @@ account / res.partner.bank / has_money_transfer_warning (boolean):
281
280
  account / res.partner.bank / message_main_attachment_id (many2one): DEL relation: ir.attachment
282
281
  account / res.partner.bank / rating_ids (one2many) : NEW relation: rating.rating
283
282
  account / res.partner.bank / related_moves (one2many) : NEW relation: account.move
284
- account / res.users / supplier_invoice_count (integer): module is now 'purchase' ('account')
285
283
  ---XML records in module 'account'---
286
284
  DEL account.account.template: l10n_generic_coa.capital
287
285
  DEL account.account.template: l10n_generic_coa.cash_diff_expense
@@ -333,7 +331,6 @@ NEW ir.actions.act_window: account.action_open_sale_payment_items
333
331
  DEL ir.actions.act_window: account.action_account_tax_template_form
334
332
  DEL ir.actions.act_window: account.action_open_account_onboarding_create_invoice
335
333
  DEL ir.actions.act_window: account.action_open_account_onboarding_sale_tax
336
- DEL ir.actions.act_window: account.res_partner_action_supplier_bills
337
334
  NEW ir.actions.server: account.action_automatic_entry_change_account
338
335
  NEW ir.actions.server: account.action_automatic_entry_change_period
339
336
  NEW ir.actions.server: account.action_move_switch_move_type
@@ -25,7 +25,7 @@ obsolete model base_import.tests.models.o2m [module base_import]
25
25
  obsolete model base_import.tests.models.o2m.child [module base_import]
26
26
  obsolete model base_import.tests.models.preview [module base_import]
27
27
  obsolete model hr.attendance.report [module hr_attendance]
28
- obsolete model hr.leave.stress.day [module hr_holidays]
28
+ obsolete model hr.leave.stress.day (renamed to hr.leave.mandatory.day) [module hr_holidays]
29
29
  obsolete model hr.plan [module hr]
30
30
  obsolete model hr.plan.activity.type [module hr]
31
31
  obsolete model hr.plan.wizard [module hr]
@@ -77,7 +77,7 @@ new model homework.location.wizard [module hr_homeworking]
77
77
  new model hr.employee.cv.wizard [module hr_skills]
78
78
  new model hr.employee.delete.wizard [module hr_timesheet]
79
79
  new model hr.employee.location [module hr_homeworking]
80
- new model hr.leave.mandatory.day [module hr_holidays]
80
+ new model hr.leave.mandatory.day (renamed from hr.leave.stress.day) [module hr_holidays]
81
81
  new model html.field.history.mixin [module web_editor]
82
82
  new model iap.account.info [module iap]
83
83
  new model ir.model.inherit [module base]
@@ -141,13 +141,13 @@ new model stock.forecasted_product_template [module stock]
141
141
  new model stock.quant.relocate [module stock]
142
142
  new model website.controller.page [module website]
143
143
  ---Fields in module 'general'---
144
- # 12228 fields matched,
145
- # Direct match: 12130
146
- # Found in other module: 98
144
+ # 12237 fields matched,
145
+ # Direct match: 12141
146
+ # Found in other module: 96
147
147
  # Found with different type: 0
148
- # In obsolete models: 398
149
- # New columns: 1915
150
- # Not matched: 1453
148
+ # In obsolete models: 388
149
+ # New columns: 1919
150
+ # Not matched: 1444
151
151
  ---XML records in module 'general'---
152
152
  ERROR: module not in list of installed modules:
153
153
  ---Models in module 'l10n_it_edi_pa'---
@@ -619,29 +619,3 @@ ERROR: module not in list of installed modules:
619
619
  ---Fields in module 'l10n_pl_sale_stock'---
620
620
  ---XML records in module 'l10n_pl_sale_stock'---
621
621
  ---nothing has changed in this module--
622
- ERROR: module not in list of installed modules:
623
- ---Models in module 'sale_quotation_builder'---
624
- ---Fields in module 'sale_quotation_builder'---
625
- sale_quotation_builder / product.template / quotation_only_description (html): DEL
626
- sale_quotation_builder / sale.order / website_description (html) : DEL
627
- sale_quotation_builder / sale.order.line / website_description (html) : DEL
628
- sale_quotation_builder / sale.order.option / website_description (html) : DEL
629
- sale_quotation_builder / sale.order.template / website_description (html) : DEL
630
- sale_quotation_builder / sale.order.template.line / website_description (html) : DEL
631
- sale_quotation_builder / sale.order.template.option / website_description (html) : DEL
632
- ---XML records in module 'sale_quotation_builder'---
633
- DEL ir.ui.view: sale_quotation_builder.brand_promotion
634
- DEL ir.ui.view: sale_quotation_builder.res_config_settings_view_form_inherit
635
- DEL ir.ui.view: sale_quotation_builder.sale_order_form_quote_design
636
- DEL ir.ui.view: sale_quotation_builder.sale_order_portal_content_inherit_sale_quotation_builder
637
- DEL ir.ui.view: sale_quotation_builder.sale_order_template_view_form_inherit_sale_quotation_builder
638
- DEL ir.ui.view: sale_quotation_builder.so_template
639
- DEL sale.order.template: sale_quotation_builder.sale_order_template_default (noupdate)
640
- ERROR: module not in list of installed modules:
641
- ---Models in module 'website_sale_digital'---
642
- ---Fields in module 'website_sale_digital'---
643
- website_sale_digital / ir.attachment / product_downloadable (boolean): DEL
644
- ---XML records in module 'website_sale_digital'---
645
- DEL ir.ui.view: website_sale_digital.product_product_view_form_inherit_digital
646
- DEL ir.ui.view: website_sale_digital.product_template_view_form_inherit_digital
647
- DEL ir.ui.view: website_sale_digital.sale_order_portal_content_inherit_website_sale_digital
@@ -7,3 +7,9 @@ from openupgradelib import openupgrade
7
7
  @openupgrade.migrate()
8
8
  def migrate(env, version):
9
9
  openupgrade.load_data(env, "delivery", "17.0.1.0/noupdate_changes.xml")
10
+ openupgrade.delete_record_translations(
11
+ env.cr,
12
+ "delivery",
13
+ ["free_delivery_carrier", "product_product_delivery"],
14
+ field_list=["name"],
15
+ )
@@ -37,6 +37,98 @@ _xmlids_renames = [
37
37
  "delivery.model_choose_delivery_package",
38
38
  "stock_delivery.model_choose_delivery_package",
39
39
  ),
40
+ (
41
+ "delivery.choose_delivery_package_view_form",
42
+ "stock_delivery.choose_delivery_package_view_form",
43
+ ),
44
+ (
45
+ "delivery.delivery_stock_report_delivery_no_package_section_line",
46
+ "stock_delivery.delivery_stock_report_delivery_no_package_section_line",
47
+ ),
48
+ (
49
+ "delivery.delivery_tracking_url_warning_form",
50
+ "stock_delivery.delivery_tracking_url_warning_form",
51
+ ),
52
+ (
53
+ "delivery.label_package_template_view_delivery",
54
+ "stock_delivery.label_package_template_view_delivery",
55
+ ),
56
+ (
57
+ "delivery.product_template_hs_code",
58
+ "stock_delivery.product_template_hs_code",
59
+ ),
60
+ (
61
+ "delivery.report_delivery_document2",
62
+ "stock_delivery.report_delivery_document2",
63
+ ),
64
+ (
65
+ "delivery.report_package_barcode_delivery",
66
+ "stock_delivery.report_package_barcode_delivery",
67
+ ),
68
+ (
69
+ "delivery.report_package_barcode_small_delivery",
70
+ "stock_delivery.report_package_barcode_small_delivery",
71
+ ),
72
+ (
73
+ "delivery.report_shipping2",
74
+ "stock_delivery.report_shipping2",
75
+ ),
76
+ (
77
+ "delivery.sale_order_portal_content_inherit_sale_stock_inherit_website_sale_delivery",
78
+ "stock_delivery.sale_order_portal_content_inherit_sale_stock_inherit_website_sale",
79
+ ),
80
+ (
81
+ "delivery.stock_move_line_view_search_delivery",
82
+ "stock_delivery.stock_move_line_view_search_delivery",
83
+ ),
84
+ (
85
+ "delivery.stock_package_type_form_delivery",
86
+ "stock_delivery.stock_package_type_form_delivery",
87
+ ),
88
+ (
89
+ "delivery.stock_package_type_tree_delivery",
90
+ "stock_delivery.stock_package_type_tree_delivery",
91
+ ),
92
+ (
93
+ "delivery.stock_report_delivery_aggregated_move_lines_inherit_delivery",
94
+ "stock_delivery.stock_report_delivery_aggregated_move_lines_inherit_delivery",
95
+ ),
96
+ (
97
+ "delivery.stock_report_delivery_has_serial_move_line_inherit_delivery",
98
+ "stock_delivery.stock_report_delivery_has_serial_move_line_inherit_delivery",
99
+ ),
100
+ (
101
+ "delivery.stock_report_delivery_package_section_line_inherit_delivery",
102
+ "stock_delivery.stock_report_delivery_package_section_line_inherit_delivery",
103
+ ),
104
+ (
105
+ "delivery.view_move_line_tree_detailed_delivery",
106
+ "stock_delivery.view_move_line_tree_detailed_delivery",
107
+ ),
108
+ (
109
+ "delivery.view_picking_type_form_delivery",
110
+ "stock_delivery.view_picking_type_form_delivery",
111
+ ),
112
+ (
113
+ "delivery.view_picking_withcarrier_out_form",
114
+ "stock_delivery.view_picking_withcarrier_out_form",
115
+ ),
116
+ (
117
+ "delivery.view_picking_withweight_internal_move_form",
118
+ "stock_delivery.view_picking_withweight_internal_move_form",
119
+ ),
120
+ (
121
+ "delivery.view_quant_package_weight_form",
122
+ "stock_delivery.view_quant_package_weight_form",
123
+ ),
124
+ (
125
+ "delivery.view_stock_rule_form_delivery",
126
+ "stock_delivery.view_stock_rule_form_delivery",
127
+ ),
128
+ (
129
+ "delivery.vpicktree_view_tree",
130
+ "stock_delivery.vpicktree_view_tree",
131
+ ),
40
132
  ]
41
133
 
42
134
 
@@ -47,6 +139,48 @@ def _delete_sql_constraints(env):
47
139
  )
48
140
 
49
141
 
142
+ def _fill_sale_order_shipping_weight(env):
143
+ """Field `shipping_weight` on sale.order is a new stored field."""
144
+ openupgrade.logged_query(
145
+ env.cr,
146
+ """
147
+ ALTER TABLE sale_order
148
+ ADD COLUMN IF NOT EXISTS shipping_weight float8;
149
+ """,
150
+ )
151
+ openupgrade.logged_query(
152
+ env.cr,
153
+ """
154
+ WITH weight_data AS (
155
+ SELECT
156
+ SUM(
157
+ COALESCE(sol.product_uom_qty, 0) * COALESCE(p.weight, 0)
158
+ ) AS shipping_weight,
159
+ sol.order_id
160
+ FROM sale_order_line sol
161
+ JOIN product_product p ON sol.product_id = p.id
162
+ JOIN product_template pt ON p.product_tmpl_id = pt.id
163
+ WHERE pt.type IN ('product', 'consu')
164
+ AND (sol.is_delivery IS NULL OR sol.is_delivery = FALSE)
165
+ AND sol.display_type IS NULL
166
+ AND sol.product_uom_qty > 0
167
+ GROUP BY sol.order_id
168
+ )
169
+ UPDATE sale_order so
170
+ SET shipping_weight = wd.shipping_weight
171
+ FROM weight_data wd
172
+ WHERE so.id = wd.order_id;
173
+ """,
174
+ )
175
+ openupgrade.logged_query(
176
+ env.cr,
177
+ """UPDATE sale_order
178
+ SET shipping_weight = 0
179
+ WHERE shipping_weight IS NULL
180
+ """,
181
+ )
182
+
183
+
50
184
  def _fill_stock_move_line_carrier_id(env):
51
185
  """Field `carrier_id` on stock.move.line is now a stored field."""
52
186
  openupgrade.logged_query(
@@ -71,6 +205,7 @@ def _fill_stock_move_line_carrier_id(env):
71
205
  def migrate(env, version):
72
206
  openupgrade.rename_xmlids(env.cr, _xmlids_renames)
73
207
  _delete_sql_constraints(env)
208
+ _fill_sale_order_shipping_weight(env)
74
209
  _fill_stock_move_line_carrier_id(env)
75
210
  openupgrade.logged_query( # just to be sure
76
211
  env.cr,
@@ -8,7 +8,7 @@ delivery / delivery.carrier / invoice_policy (selection) : select
8
8
  # NOTHING TO DO
9
9
 
10
10
  delivery / sale.order / shipping_weight (float) : NEW hasdefault: compute
11
- # NOTHING TO DO: new features
11
+ # DONE: pre-migration: Add new column & set value for it
12
12
 
13
13
  delivery / stock.move.line / carrier_id (many2one) : is now stored
14
14
  # DONE: pre-migration: Add new column & set value for it
@@ -67,8 +67,6 @@ ir.model.constraint: delivery.constraint_delivery_carrier_margin_not_under_100_p
67
67
 
68
68
  DEL ir.ui.menu: delivery.menu_action_delivery_carrier_form [renamed to stock_delivery module]
69
69
  DEL ir.ui.menu: delivery.menu_delivery_zip_prefix [renamed to stock_delivery module]
70
- # DONE: pre-migration: moved to stock_delivery
71
-
72
70
  DEL ir.ui.view: delivery.choose_delivery_package_view_form
73
71
  DEL ir.ui.view: delivery.delivery_stock_report_delivery_no_package_section_line
74
72
  DEL ir.ui.view: delivery.delivery_tracking_url_warning_form
@@ -92,4 +90,4 @@ DEL ir.ui.view: delivery.view_picking_withweight_internal_move_form
92
90
  DEL ir.ui.view: delivery.view_quant_package_weight_form
93
91
  DEL ir.ui.view: delivery.view_stock_rule_form_delivery
94
92
  DEL ir.ui.view: delivery.vpicktree_view_tree
95
- # NOTHING TO DO
93
+ # DONE: pre-migration: renamed xmlid to stock_delivery
@@ -8,8 +8,18 @@ _model_renames = [
8
8
 
9
9
  _table_renames = [
10
10
  ("hr_leave_stress_day", "hr_leave_mandatory_day"),
11
+ (
12
+ "hr_department_hr_leave_stress_day_rel",
13
+ "hr_department_hr_leave_mandatory_day_rel",
14
+ ),
11
15
  ]
12
16
 
17
+ _column_renames = {
18
+ "hr_department_hr_leave_mandatory_day_rel": [
19
+ ("hr_leave_stress_day_id", "hr_leave_mandatory_day_id")
20
+ ],
21
+ }
22
+
13
23
 
14
24
  def _pre_create_accrual_plan_active(cr):
15
25
  """
@@ -145,6 +155,7 @@ def _delete_sql_constraints(env):
145
155
  def migrate(env, version):
146
156
  openupgrade.rename_models(env.cr, _model_renames)
147
157
  openupgrade.rename_tables(env.cr, _table_renames)
158
+ openupgrade.rename_columns(env.cr, _column_renames)
148
159
  _pre_create_accrual_plan_active(env.cr)
149
160
  _hr_leave_company_id(env.cr)
150
161
  _map_leave_accrual_level_action(env.cr)
@@ -1,6 +1,6 @@
1
1
  ---Models in module 'hr_holidays'---
2
- obsolete model hr.leave.stress.day
3
- new model hr.leave.mandatory.day
2
+ obsolete model hr.leave.stress.day (renamed to hr.leave.mandatory.day)
3
+ new model hr.leave.mandatory.day (renamed from hr.leave.stress.day)
4
4
  ---Fields in module 'hr_holidays'---
5
5
  hr_holidays / hr.leave / activity_user_id (many2one) : not related anymore
6
6
  hr_holidays / hr.leave / activity_user_id (many2one) : now a function
@@ -44,20 +44,8 @@ hr_holidays / hr.leave.allocation / type_request_unit (selection) : not re
44
44
  hr_holidays / hr.leave.allocation / type_request_unit (selection) : now a function
45
45
  hr_holidays / hr.leave.allocation / type_request_unit (selection) : selection_keys is now '['day', 'half_day', 'hour']' ('function')
46
46
  hr_holidays / hr.leave.allocation / website_message_ids (one2many): previously in module portal
47
- hr_holidays / hr.leave.mandatory.day / color (integer) : NEW hasdefault: default
48
- hr_holidays / hr.leave.mandatory.day / company_id (many2one) : NEW relation: res.company, required, hasdefault: default
49
- hr_holidays / hr.leave.mandatory.day / department_ids (many2many) : NEW relation: hr.department
50
- hr_holidays / hr.leave.mandatory.day / end_date (date) : NEW required
51
- hr_holidays / hr.leave.mandatory.day / name (char) : NEW required
52
- hr_holidays / hr.leave.mandatory.day / resource_calendar_id (many2one): NEW relation: resource.calendar
53
- hr_holidays / hr.leave.mandatory.day / start_date (date) : NEW required
54
- hr_holidays / hr.leave.stress.day / color (integer) : DEL
55
- hr_holidays / hr.leave.stress.day / company_id (many2one) : DEL relation: res.company, required
56
- hr_holidays / hr.leave.stress.day / department_ids (many2many) : DEL relation: hr.department
57
- hr_holidays / hr.leave.stress.day / end_date (date) : DEL required
58
- hr_holidays / hr.leave.stress.day / name (char) : DEL required
59
- hr_holidays / hr.leave.stress.day / resource_calendar_id (many2one): DEL relation: resource.calendar
60
- hr_holidays / hr.leave.stress.day / start_date (date) : DEL required
47
+ hr_holidays / hr.leave.stress.day / department_ids (many2many) : column1 is now 'hr_leave_mandatory_day_id' ('hr_leave_stress_day_id') [hr_department_hr_leave_stress_day_rel]
48
+ hr_holidays / hr.leave.stress.day / department_ids (many2many) : table is now 'hr_department_hr_leave_mandatory_day_rel' ('hr_department_hr_leave_stress_day_rel')
61
49
  hr_holidays / hr.leave.type / allows_negative (boolean) : NEW
62
50
  hr_holidays / hr.leave.type / color_name (selection) : DEL required, selection_keys: ['black', 'blue', 'brown', 'ivory', 'lavender', 'lightblue', 'lightcoral', 'lightcyan', 'lightgreen', 'lightpink', 'lightsalmon', 'lightyellow', 'magenta', 'red', 'violet', 'wheat']
63
51
  hr_holidays / hr.leave.type / max_allowed_negative (integer): NEW
@@ -108,21 +108,9 @@ hr_holidays / hr.leave.allocation / type_request_unit (selection) : select
108
108
  hr_holidays / hr.leave.allocation / website_message_ids (one2many): previously in module portal
109
109
  # NOTHING TO DO: Handled by Odoo registry
110
110
 
111
- hr_holidays / hr.leave.mandatory.day / color (integer) : NEW hasdefault: default
112
- hr_holidays / hr.leave.mandatory.day / company_id (many2one) : NEW relation: res.company, required, hasdefault: default
113
- hr_holidays / hr.leave.mandatory.day / department_ids (many2many) : NEW relation: hr.department
114
- hr_holidays / hr.leave.mandatory.day / end_date (date) : NEW required
115
- hr_holidays / hr.leave.mandatory.day / name (char) : NEW required
116
- hr_holidays / hr.leave.mandatory.day / resource_calendar_id (many2one): NEW relation: resource.calendar
117
- hr_holidays / hr.leave.mandatory.day / start_date (date) : NEW required
118
- hr_holidays / hr.leave.stress.day / color (integer) : DEL
119
- hr_holidays / hr.leave.stress.day / company_id (many2one) : DEL relation: res.company, required
120
- hr_holidays / hr.leave.stress.day / department_ids (many2many) : DEL relation: hr.department
121
- hr_holidays / hr.leave.stress.day / end_date (date) : DEL required
122
- hr_holidays / hr.leave.stress.day / name (char) : DEL required
123
- hr_holidays / hr.leave.stress.day / resource_calendar_id (many2one): DEL relation: resource.calendar
124
- hr_holidays / hr.leave.stress.day / start_date (date) : DEL required
125
- # DONE: pre-migration rename model (no field changes)
111
+ hr_holidays / hr.leave.stress.day / department_ids (many2many) : column1 is now 'hr_leave_mandatory_day_id' ('hr_leave_stress_day_id') [hr_department_hr_leave_stress_day_rel]
112
+ hr_holidays / hr.leave.stress.day / department_ids (many2many) : table is now 'hr_department_hr_leave_mandatory_day_rel' ('hr_department_hr_leave_stress_day_rel')
113
+ # DONE: pre-migration rename model, m2m table and column
126
114
 
127
115
  hr_holidays / hr.leave.type / allows_negative (boolean) : NEW
128
116
  hr_holidays / hr.leave.type / max_allowed_negative (integer): NEW