product_code_unique to uninstall

This commit is contained in:
Raimon Esteve 2022-08-16 12:24:09 +02:00
parent 4c7d2144be
commit 39991ee8fe
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,7 @@ to_uninstall:
- party_merge
- product_configuration
- product_barcode
- product_code_unique
- production_cost_distribution
- production_quality_control_trigger_lot
- project_state_by_buttons
@ -669,6 +670,11 @@ before:
UPDATE account_invoice_line SET invoice_type = (SELECT type FROM account_invoice WHERE id = account_invoice_line.invoice) WHERE invoice_type IS NOT NULL AND invoice IS NOT NULL;
UPDATE account_invoice_line SET party = (SELECT party FROM account_invoice WHERE id = account_invoice_line.invoice) WHERE party IS NOT NULL AND invoice IS NOT NULL;
- comment: drop constraint product_product_code_uniq
version: 6.0
tables: product_product
query: ALTER TABLE product_product DROP CONSTRAINT IF EXISTS product_product_code_uniq;
after:
- comment: Remove include_347 from party
version: 5.1