Skip to content

Commit

Permalink
Merge pull request #4422 from Tecnativa/16.0-ou_fix-constraint_removal
Browse files Browse the repository at this point in the history
[16.0][OU-FIX] sale_purchase: Changes in Odoo upstream
  • Loading branch information
pedrobaeza committed May 1, 2024
2 parents a4c1891 + 051a09e commit 90f2997
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ def convert_service_to_purchase_to_company_dependent(env):
@openupgrade.migrate()
def migrate(env, version):
convert_service_to_purchase_to_company_dependent(env)
constraint = env.ref(
"sale_purchase.constraint_product_template_service_to_purchase", False
)
if constraint:
constraint._module_data_uninstall()
openupgrade.delete_records_safely_by_xml_id(
env, ["sale_purchase.constraint_product_template_service_to_purchase"]
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sale_purchase / product.template / service_to_purchase (boolean) : not s

---XML records in module 'sale_purchase'---
DEL ir.model.constraint: sale_purchase.constraint_product_template_service_to_purchase
# DONE: post-migration, delete constraint
# NOTHING TO DO: Handled in ORM since https://github.com/odoo/odoo/commit/3fd308981d077bd9b93394d45defaa990d9c7acd

NEW ir.ui.view: sale_purchase.sale_order_cancel_view_form
# NOTHING TO DO

0 comments on commit 90f2997

Please sign in to comment.