mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
Always try to remove duplicated bank accounts.
This commit is contained in:
parent
db245f8ea2
commit
104c5ca35e
|
@ -731,6 +731,11 @@ before:
|
||||||
delete from ir_model_data where module = 'incoterm' and model in ('act_incoterm_form', 'ir.action.act_window', 'ir.action.act_window.view', 'ir.ui.menu', 'ir.ui.view');
|
delete from ir_model_data where module = 'incoterm' and model in ('act_incoterm_form', 'ir.action.act_window', 'ir.action.act_window.view', 'ir.ui.menu', 'ir.ui.view');
|
||||||
delete from ir_translation where module in ('incoterm', 'sale_incoterm', 'purchase_incoterm');
|
delete from ir_translation where module in ('incoterm', 'sale_incoterm', 'purchase_incoterm');
|
||||||
|
|
||||||
|
- comment: allow upgrade issue11198 before run script. Note this is linked to another 'after' script that can be found searching for issue11198 in this file.
|
||||||
|
version: 6.4
|
||||||
|
query: alter table bank_account_number rename number_compact to number_compact2;
|
||||||
|
alter table bank_account_number rename account to account2;
|
||||||
|
|
||||||
after:
|
after:
|
||||||
- comment: Remove include_347 from party
|
- comment: Remove include_347 from party
|
||||||
version: 5.1
|
version: 5.1
|
||||||
|
@ -1050,5 +1055,9 @@ after:
|
||||||
tables: bank_account-party_party
|
tables: bank_account-party_party
|
||||||
script: ./upgrades/before/072070-bank-account.py
|
script: ./upgrades/before/072070-bank-account.py
|
||||||
|
|
||||||
|
- comment: issue11198 bank uniqueness. Note this is linked to another 'before' script that can be found searching for issue11198 in this file.
|
||||||
|
version: 6.4
|
||||||
|
script: ./upgrades/after/issue11198-bank-uniqueness.py
|
||||||
|
|
||||||
ignore:
|
ignore:
|
||||||
- WARNING trytond.backend.postgresql.table Unable to set column move_line of table analytic_account_line not null !
|
- WARNING trytond.backend.postgresql.table Unable to set column move_line of table analytic_account_line not null !
|
||||||
|
|
Loading…
Reference in a new issue