odoo-addon-openupgrade-scripts 15.0.1.0.0.474__py3-none-any.whl → 15.0.1.0.0.475__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.
@@ -10,6 +10,15 @@ def _fill_payment_state(env):
10
10
  WHERE account_move_id IS NULL
11
11
  """,
12
12
  )
13
+ # set exclude_from_invoice_tab the way v15 does it
14
+ openupgrade.logged_query(
15
+ env.cr,
16
+ """
17
+ UPDATE account_move_line
18
+ SET exclude_from_invoice_tab=(coalesce(quantity, 0) = 0)
19
+ WHERE expense_id IS NOT NULL
20
+ """,
21
+ )
13
22
  # Recompute payment_state for the moves associated to the expenses, as on
14
23
  # v14 these ones were not computed being of type `entry`, which changes now
15
24
  # on v15 if the method `_payment_state_matters` returns True, which is the
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade-scripts
3
- Version: 15.0.1.0.0.474
3
+ Version: 15.0.1.0.0.475
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)
@@ -170,7 +170,7 @@ odoo/addons/openupgrade_scripts/scripts/hr_contract/15.0.1.0/pre-migration.py,sh
170
170
  odoo/addons/openupgrade_scripts/scripts/hr_contract/15.0.1.0/upgrade_analysis.txt,sha256=9kL-dXhj7ZJUf3ZUiZY2RxSLYLBQVpVDaEhkmN-Kl1o,1677
171
171
  odoo/addons/openupgrade_scripts/scripts/hr_contract/15.0.1.0/upgrade_analysis_work.txt,sha256=sUl4hhfNWmbvyskqR26Meg_g1CxZwoSsn7PVoewjQ7A,1967
172
172
  odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/noupdate_changes.xml,sha256=dMUUfRJ75PVxQYe7pGpE-6hllgKO5DtrEr6_1ki9oW8,1307
173
- odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/post-migration.py,sha256=bWIL4UxBmCwiK6lYuGQyImWVQ85q08ZSqOFKO3nK6Sc,1782
173
+ odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/post-migration.py,sha256=I5qp5e7iMyhuMa3pVCq7fMPTWUytTLbR4AA_osYRczg,2049
174
174
  odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/pre-migration.py,sha256=0jJvJ2FNOm2CLFZQJSi6OEI3Tv-5AXV1Sb1bXO5bd7U,553
175
175
  odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/upgrade_analysis.txt,sha256=Kg3-cC-kvp3E3YTvK4IX5_NCMr32Tq2CNRLebCgUxyk,1664
176
176
  odoo/addons/openupgrade_scripts/scripts/hr_expense/15.0.2.0/upgrade_analysis_work.txt,sha256=6LDJ5RaB8fPhUsebYCJuVHj61Vq4L-cHhI4QjyY_BnI,2042
@@ -789,7 +789,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/15.0.1.0/upgrade_analysi
789
789
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
790
790
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
791
791
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=Q6Orf6ynZuFFVbDWUruBEsSY4uaFaTiVYvLYU1tcCnc,12678
792
- odoo_addon_openupgrade_scripts-15.0.1.0.0.474.dist-info/METADATA,sha256=1FhXzopxo4TvAWHtuJdfmYaeCaxYDp3psURNj-0FXvA,3779
793
- odoo_addon_openupgrade_scripts-15.0.1.0.0.474.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
794
- odoo_addon_openupgrade_scripts-15.0.1.0.0.474.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
795
- odoo_addon_openupgrade_scripts-15.0.1.0.0.474.dist-info/RECORD,,
792
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.475.dist-info/METADATA,sha256=uQKiY3BMZgpI1U7tybNLy1fWafd1nwB3cjMxwAVr1n0,3779
793
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.475.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
794
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.475.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
795
+ odoo_addon_openupgrade_scripts-15.0.1.0.0.475.dist-info/RECORD,,