odoo-addon-openupgrade-scripts 16.0.1.0.3.219__py3-none-any.whl → 16.0.1.0.3.224__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.
@@ -355,6 +355,26 @@ def _fast_fill_account_payment_amount_company_currency_signed(env):
355
355
  )
356
356
 
357
357
 
358
+ def _account_journal_payment_sequence(env):
359
+ """Add manually this field with False value to avoid different behavior from v15,
360
+ where there's only one number sequence for whole journal.
361
+ """
362
+ openupgrade.add_fields(
363
+ env,
364
+ [
365
+ (
366
+ "payment_sequence",
367
+ "account.journal",
368
+ "account_journal",
369
+ "boolean",
370
+ False,
371
+ "account",
372
+ False,
373
+ )
374
+ ],
375
+ )
376
+
377
+
358
378
  @openupgrade.migrate()
359
379
  def migrate(env, version):
360
380
  openupgrade.rename_xmlids(env.cr, _xmlids_renames)
@@ -383,3 +403,4 @@ def migrate(env, version):
383
403
  "account_reconcile_model_line_id",
384
404
  )
385
405
  _fast_fill_account_payment_amount_company_currency_signed(env)
406
+ _account_journal_payment_sequence(env)
@@ -164,10 +164,12 @@ account / account.chart.template / use_storno_accounting (boolean): NEW h
164
164
 
165
165
  account / account.journal / default_account_type (many2one): relation is now 'False' ('account.account.type') [nothing to do]
166
166
  account / account.journal / default_account_type (many2one): type is now 'char' ('many2one')
167
- account / account.journal / payment_sequence (boolean) : NEW hasdefault: compute
168
167
  account / account.journal / type_control_ids (many2many) : DEL relation: account.account.type
169
168
  # NOTHING TO DO
170
169
 
170
+ account / account.journal / payment_sequence (boolean) : NEW hasdefault: compute
171
+ # DONE: pre-migration: initialize to False to preserve v15 behavior and avoid errors when giving numbers
172
+
171
173
  account / account.move / attachment_ids (one2many) : NEW relation: ir.attachment
172
174
  # NOTHING TO DO
173
175
 
@@ -0,0 +1,22 @@
1
+ # Copyright 2024 Tecnativa - Pedro M. Baeza
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+
4
+ from openupgradelib import openupgrade
5
+
6
+
7
+ @openupgrade.migrate()
8
+ def migrate(env, version):
9
+ openupgrade.add_fields(
10
+ env,
11
+ [
12
+ (
13
+ "is_mandatory_answer",
14
+ "event.question",
15
+ "event_question",
16
+ "boolean",
17
+ False,
18
+ "website_event_questions",
19
+ True,
20
+ )
21
+ ],
22
+ )
@@ -0,0 +1,8 @@
1
+ ---Models in module 'website_event_questions'---
2
+ ---Fields in module 'website_event_questions'---
3
+ website_event_questions / event.question / is_mandatory_answer (boolean) : NEW
4
+ # DONE: pre-migration: Pre-create column with default=True, which preserves v15 behavior
5
+
6
+ ---XML records in module 'website_event_questions'---
7
+ NEW ir.ui.view: website_event_questions.event_registration_view_tree
8
+ # NOTHING TO DO: ir stuff with noupdate=0
@@ -0,0 +1,14 @@
1
+ from openupgradelib import openupgrade
2
+
3
+
4
+ @openupgrade.migrate()
5
+ def migrate(env, version):
6
+ openupgrade.load_data(
7
+ env.cr, "website_event_track", "16.0.1.3/noupdate_changes.xml"
8
+ )
9
+ openupgrade.delete_record_translations(
10
+ env.cr,
11
+ "website_event_track",
12
+ ["mail_template_data_track_confirmation"],
13
+ ["name", "description"],
14
+ )
@@ -0,0 +1,17 @@
1
+ ---Models in module 'website_event_track'---
2
+ ---Fields in module 'website_event_track'---
3
+ website_event_track / event.track.location / _order : _order is now 'sequence, id' ('id')
4
+ # NOTHING TO DO
5
+
6
+ website_event_track / event.track.location / sequence (integer) : NEW hasdefault: default
7
+ # NOTHING TO DO: Default value applied by ORM is OK
8
+
9
+ website_event_track / website.event.menu / menu_type (False) : selection_keys is now '['booth', 'community', 'introduction', 'location', 'register', 'track', 'track_proposal']' ('['booth', 'community', 'exhibitor', 'introduction', 'location', 'meeting_room', 'register', 'track', 'track_proposal']')
10
+ # NOTHING TO DO: nothing change in website.event.menu of module website_event_track
11
+
12
+ ---XML records in module 'website_event_track'---
13
+ NEW ir.ui.view: website_event_track.event_track_content_partner_info
14
+ NEW ir.ui.view: website_event_track.event_track_view_form_quick_create
15
+ NEW ir.ui.view: website_event_track.snippet_options
16
+ DEL ir.ui.view: website_event_track.track_edit_options
17
+ # NOTHING TO DO
@@ -0,0 +1,15 @@
1
+ ---Models in module 'website_forum'---
2
+ ---Fields in module 'website_forum'---
3
+ ---XML records in module 'website_forum'---
4
+ NEW ir.actions.act_window: website_forum.forum_forum_action_add
5
+ NEW ir.ui.menu: website_forum.menu_forum_post_pages
6
+ DEL ir.ui.menu: website_forum.menu_forum_posts
7
+ DEL ir.ui.menu: website_forum.menu_website_forum
8
+ NEW ir.ui.view: website_forum.forum_forum_view_form_add
9
+ NEW ir.ui.view: website_forum.forum_post_view_kanban
10
+ NEW ir.ui.view: website_forum.mark_as_offensive
11
+ NEW ir.ui.view: website_forum.show_flag_validator
12
+ NEW ir.ui.view: website_forum.snippet_options
13
+ DEL ir.ui.view: website_forum.user_navbar_inherit_website_forum
14
+
15
+ # NOTHING TO DO
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade-scripts
3
- Version: 16.0.1.0.3.219
3
+ Version: 16.0.1.0.3.224
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)
@@ -7,9 +7,9 @@ odoo/addons/openupgrade_scripts/readme/DESCRIPTION.rst,sha256=ckrM5YlY8awluPWIV7
7
7
  odoo/addons/openupgrade_scripts/readme/INSTALL.rst,sha256=tXbOmw3QIhO1KLIziMpXzuuY0tOhI8IGT2ktCArwfGM,115
8
8
  odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/noupdate_changes.xml,sha256=dQ5BuaiRxlN_swXTEwFBLUdIW87wJBaol5qeGcoiYgw,8353
9
9
  odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/post-migration.py,sha256=g05FDRVwXVnKOoiqHV6RXQe1pyb7JnXts2eW_sjcC00,2085
10
- odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/pre-migration.py,sha256=s5uFJJWsZ-dhD6kfiRZb0lMIZ3wBByQpjTMOvhbf5pM,13709
10
+ odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/pre-migration.py,sha256=NijhyaIa4V9BfRWKvS1lDkzKeK-c-9VvJmb68vjxunA,14256
11
11
  odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis.txt,sha256=LAGIn64-_mvvep8AfaPBS8qqo8O3dzw4wNA-5FgyQ0k,39201
12
- odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis_work.txt,sha256=eSuVQTCqQDzTHQpSeQ6_P6ekmXsNbRtsKm7otb80Pes,41644
12
+ odoo/addons/openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis_work.txt,sha256=QOmM5TAbcJtQmdVxlIfyUpCkL4DMlKjmPJ7ZMUWFIrM,41750
13
13
  odoo/addons/openupgrade_scripts/scripts/account_check_printing/16.0.1.0/upgrade_analysis.txt,sha256=LLJ88stlAeeCNgxAIiORZjQjbY-Sir138GI_FBpjIeE,189
14
14
  odoo/addons/openupgrade_scripts/scripts/account_debit_note/16.0.1.0/upgrade_analysis.txt,sha256=tJQzqc9HkZ1yHePn7nwW7VbCfBH_yfe5UEym2zLJ4AE,177
15
15
  odoo/addons/openupgrade_scripts/scripts/account_edi/16.0.1.0/upgrade_analysis.txt,sha256=Ms96bIyVx7oGCOzgX7jGWV0hYRCyFGq3f4ou8sK5eI8,570
@@ -608,14 +608,19 @@ odoo/addons/openupgrade_scripts/scripts/website_event_booth_sale_exhibitor/16.0.
608
608
  odoo/addons/openupgrade_scripts/scripts/website_event_exhibitor/16.0.1.1/upgrade_analysis.txt,sha256=aGPbbYWWU9fh_LPVuiYIT00jtM_bQhbCDm_OgGHaGzw,567
609
609
  odoo/addons/openupgrade_scripts/scripts/website_event_jitsi/16.0.1.0/upgrade_analysis.txt,sha256=CasehKXsDI9yg4KaY1VRAiEsj2zCOJykqzINEm4DC_Y,206
610
610
  odoo/addons/openupgrade_scripts/scripts/website_event_meet/16.0.1.0/upgrade_analysis.txt,sha256=4SKNnHUo2WLtAZYZXlQI81grCcCF6AiHCLmETcOtjes,507
611
+ odoo/addons/openupgrade_scripts/scripts/website_event_questions/16.0.1.2/pre-migration.py,sha256=jogdylGuYmorV6YgylcTjDWhP62IUpDSVpVGHf6b4F0,523
611
612
  odoo/addons/openupgrade_scripts/scripts/website_event_questions/16.0.1.2/upgrade_analysis.txt,sha256=rTx_ZsCPRMLiah1ugyrleFeKW7WJEjrgnkkOV9qs7AM,310
613
+ odoo/addons/openupgrade_scripts/scripts/website_event_questions/16.0.1.2/upgrade_analysis_work.txt,sha256=tXxvbxVZ8C6u_iH84ktNZAQwBbCgB6gxOu9dK8q93_4,442
612
614
  odoo/addons/openupgrade_scripts/scripts/website_event_sale/16.0.1.0/upgrade_analysis.txt,sha256=95AxCK6IhkFRCYEo6sVeZUaZErK8tdjh5JQ1uKFOEOQ,322
613
615
  odoo/addons/openupgrade_scripts/scripts/website_event_sale/16.0.1.0/upgrade_analysis_work.txt,sha256=phoCb5v3Ow-k_0ByUfpuoyJhpVYH-rNCWR3M3wym5eU,339
614
616
  odoo/addons/openupgrade_scripts/scripts/website_event_track/16.0.1.3/noupdate_changes.xml,sha256=_dZ2_vRAtqoqS014ct6-BAarvp2B5vR7F7_hiWkHK0w,325
617
+ odoo/addons/openupgrade_scripts/scripts/website_event_track/16.0.1.3/post-migration.py,sha256=ZV1wRoG8TuhgHecEJCAe1ecHFJSXDdajns6e-ohgoxg,376
615
618
  odoo/addons/openupgrade_scripts/scripts/website_event_track/16.0.1.3/upgrade_analysis.txt,sha256=Jr_Ms0a9UJkqjn9v6QAeM7BDUttdA0bZEHQQbWUc0jU,927
619
+ odoo/addons/openupgrade_scripts/scripts/website_event_track/16.0.1.3/upgrade_analysis_work.txt,sha256=jeSyzaQuHGn8_dfl2Qm0kzv5gMbpHRRlDANJKn99MWE,1098
616
620
  odoo/addons/openupgrade_scripts/scripts/website_event_track_live/16.0.1.0/upgrade_analysis.txt,sha256=nkw3qu5MZkHIEhC1Ysc3gid3fMt8wW0fmhDZs9h8pck,195
617
621
  odoo/addons/openupgrade_scripts/scripts/website_event_track_quiz/16.0.1.0/upgrade_analysis.txt,sha256=UhqqYMoCUY3akNEdgtGeVw35anBJUQjSgit8c1xx_PA,195
618
622
  odoo/addons/openupgrade_scripts/scripts/website_forum/16.0.1.1/upgrade_analysis.txt,sha256=S5ZNLqzGI_Ln672FDj7BiqF6XfaCoZ_X-FQLAzLSiKU,651
623
+ odoo/addons/openupgrade_scripts/scripts/website_forum/16.0.1.1/upgrade_analysis_work.txt,sha256=XOiGXc_poMOdyZ7AC47a8XH_ajIAHQRO2qSxpILpYI8,668
619
624
  odoo/addons/openupgrade_scripts/scripts/website_hr_recruitment/16.0.1.0/pre-migration.py,sha256=n2LJ34O8Jm1OnD7rJbeq9nG8Qug9jY0dqyeUVnss6pg,280
620
625
  odoo/addons/openupgrade_scripts/scripts/website_hr_recruitment/16.0.1.0/upgrade_analysis.txt,sha256=lhIhdS4MVUTqoX-pjKKNA1s23rU4Qsxvrkn-9suGgmI,890
621
626
  odoo/addons/openupgrade_scripts/scripts/website_hr_recruitment/16.0.1.0/upgrade_analysis_work.txt,sha256=pApdCGIFHgzIg_rgFK5Cn4EL3CtgEwtFjVxLePv5l7o,973
@@ -673,7 +678,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/16.0.1.0/upgrade_analysi
673
678
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
674
679
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
675
680
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=IOWtZdzr_jN_Dja8HYIfzIxrO8NE5pFgazKJtPsLKw0,12678
676
- odoo_addon_openupgrade_scripts-16.0.1.0.3.219.dist-info/METADATA,sha256=KOcB8Dv8ZJl8bi1l7KVn563oaiRCM1booVMKPIaCuD0,3810
677
- odoo_addon_openupgrade_scripts-16.0.1.0.3.219.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
678
- odoo_addon_openupgrade_scripts-16.0.1.0.3.219.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
679
- odoo_addon_openupgrade_scripts-16.0.1.0.3.219.dist-info/RECORD,,
681
+ odoo_addon_openupgrade_scripts-16.0.1.0.3.224.dist-info/METADATA,sha256=LM3g7Z_TU54UihydqIQbbXN2D6tGHhOGbuXpbN61kko,3810
682
+ odoo_addon_openupgrade_scripts-16.0.1.0.3.224.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
683
+ odoo_addon_openupgrade_scripts-16.0.1.0.3.224.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
684
+ odoo_addon_openupgrade_scripts-16.0.1.0.3.224.dist-info/RECORD,,