replace sequence_type_lot from stock_lot_sequence to sequence_type_stock_lot from stock_lot module (farm)

This commit is contained in:
Raimon Esteve 2022-03-31 18:33:01 +02:00
parent d71c30a0c5
commit ed7b811ed0
1 changed files with 2 additions and 0 deletions

View File

@ -629,6 +629,7 @@ before:
- comment: replace sequence_type_lot from stock_lot_sequence to sequence_type_stock_lot from stock_lot module
version: 6.4
query: update ir_sequence set sequence_type = (select db_id from ir_model_data where module = 'stock_lot' and fs_id = 'sequence_type_stock_lot') where sequence_type = (select db_id from ir_model_data where module = 'stock_lot_sequence' and fs_id = 'sequence_type_lot');
update ir_sequence set sequence_type = (select db_id from ir_model_data where module = 'farm' and fs_id = 'sequence_type_lot') where sequence_type = (select db_id from ir_model_data where module = 'farm' and fs_id = 'sequence_type_lot');
after:
- comment: Remove include_347 from party
@ -922,6 +923,7 @@ after:
- comment: replace sequence_type_lot from stock_lot_sequence to sequence_type_stock_lot from stock_lot module
version: 5.4
query: update ir_sequence set sequence_type = (select db_id from ir_model_data where module = 'stock_lot' and fs_id = 'sequence_type_stock_lot') where sequence_type = (select db_id from ir_model_data where module = 'stock_lot_sequence' and fs_id = 'sequence_type_lot');
update ir_sequence set sequence_type = (select db_id from ir_model_data where module = 'farm' and fs_id = 'sequence_type_lot') where sequence_type = (select db_id from ir_model_data where module = 'farm' and fs_id = 'sequence_type_lot');
ignore:
- WARNING trytond.backend.postgresql.table Unable to set column move_line of table analytic_account_line not null !