mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
Change update_unit_price queries near sync_model_data and change its comment.
This commit is contained in:
parent
30050732f6
commit
12fd624df1
13
config.yml
13
config.yml
|
@ -512,12 +512,6 @@ before:
|
|||
query: ALTER TABLE account_payment_sepa_message ALTER COLUMN message TYPE BYTEA USING message::BYTEA;
|
||||
|
||||
after:
|
||||
- comment: We need this query before 'after' scripts are executed as otherwise the ./upgrades/after/sync_model_data.py script fails
|
||||
version: 5.2
|
||||
query: update ir_model_data set fs_values = REPLACE(fs_values, '["update_unit_price",true]', '["update_unit_price",false]') WHERE fs_values like '%["update_unit_price",true]%';
|
||||
- comment: We need this query before 'after' scripts are executed as otherwise the ./upgrades/after/sync_model_data.py script fails
|
||||
query: update ir_model_data set values = REPLACE(values, '["update_unit_price",true]', '["update_unit_price",false]') WHERE values like '%["update_unit_price",true]%';
|
||||
version: 5.2
|
||||
- DELETE FROM ir_translation WHERE module = 'account_es_pyme';
|
||||
- comment: # translations fuzzy to false
|
||||
query: UPDATE ir_translation set fuzzy = false where fuzzy = true and res_id = -1;
|
||||
|
@ -661,6 +655,13 @@ after:
|
|||
- script: ./upgrades/after/convert_domain_rules.py
|
||||
version: 4.8
|
||||
|
||||
- comment: We need this query before sync_model_data.py otherwise it fails
|
||||
version: 5.2
|
||||
query: update ir_model_data set fs_values = REPLACE(fs_values, '["update_unit_price",true]', '["update_unit_price",false]') WHERE fs_values like '%["update_unit_price",true]%';
|
||||
- comment: We need this query before sync_model_data.py otherwise it fails
|
||||
version: 5.2
|
||||
query: update ir_model_data set values = REPLACE(values, '["update_unit_price",true]', '["update_unit_price",false]') WHERE values like '%["update_unit_price",true]%';
|
||||
|
||||
- script: ./upgrades/after/sync_model_data.py
|
||||
version: 4.8
|
||||
|
||||
|
|
Loading…
Reference in a new issue