Commit graph

259 commits

Author SHA1 Message Date
Albert Cervera i Areny
5f821703b4 Update upgrades YML process with last upgrade 2020-02-07 10:18:03 +01:00
Bernat Brunet
cf1fd90e2b remove company limitation on tax upgrade, added on a test 2020-02-04 10:35:22 +01:00
Albert Cervera i Areny
7a261dcb27 In migration_properties.py, do not crash if some models don't exist. 2020-01-16 00:09:26 +01:00
Albert Cervera i Areny
774a293e25 In migration_properties.py, do not crash if value is None. 2020-01-15 22:51:00 +01:00
Àngel Àlvarez
7bbe179d3d add some property and cofiguration migration 2020-01-09 14:16:39 +01:00
Albert Cervera i Areny
578e980d0e Move position of some actions. 2019-12-31 00:40:35 +01:00
Albert Cervera i Areny
10ab30c835 Move the removal of some users to the 'before' phase 2019-12-31 00:39:52 +01:00
Albert Cervera i Areny
ada12cd3f2 Drop field name from account_journal_period only if the field exists. 2019-12-31 00:38:29 +01:00
Albert Cervera i Areny
13240ddf19 Drop include_347 fields only if they exist. 2019-12-05 09:35:13 +01:00
Albert Cervera i Areny
ed062db082 Remove colon that makes the YAML file invalid 2019-12-04 22:31:26 +01:00
?ngel ?lvarez
9d8282d337 fix account_tax_line and adapt to last changes for 347 2019-11-30 15:10:37 +01:00
Albert Cervera i Areny
3a5604748f Do not remove account_invoice_type. 2019-11-28 15:21:49 +01:00
Albert Cervera i Areny
3c2c923f7e Do not uninstall account_invoice_consecutive yet. 2019-11-17 21:23:18 +01:00
Raimon Esteve
4c9f34b9b4 Add account_invoice_consecutive and country_zip_es to_unistall section 2019-11-17 16:16:28 +01:00
Albert Cervera i Areny
f3610a07eb Remove milestone_migration.py.
It is no longer necessary and it's written in python 2.
2019-10-12 11:23:27 +02:00
Albert Cervera i Areny
12fd624df1 Change update_unit_price queries near sync_model_data and change its comment. 2019-10-10 10:08:44 +02:00
?ngel ?lvarez
30050732f6 add query to fix sync_model_data with unit_price 2019-10-10 09:54:53 +02:00
Albert Cervera i Areny
b0e40578b6 Comment upload_sii.py after script as it should be manually added to each custom upgrade.yml. 2019-10-08 12:36:32 +02:00
Raimon Esteve
8adb5794cb Replace account_payment_sepa_message from TEXT to BYTEA 2019-10-01 09:35:22 +02:00
?ngel ?lvarez
2a90424927 fix version of some scripts 2019-09-25 14:07:27 +02:00
?ngel ?lvarez
a136ba5439 add version in some queries 2019-09-24 09:16:58 +02:00
?ngel ?lvarez
9040c37c30 fix name code creating invoice_payment_method 2019-09-24 08:53:45 +02:00
?ngel ?lvarez
687ad30c53 disable tax with end_date 2019-09-18 12:20:25 +02:00
Albert Cervera i Areny
0388b2b87d In migration_properties.py, ensure the account exists before trying to read it. 2019-09-06 00:54:38 +02:00
Albert Cervera i Areny
96bb186ad1 Allow defining environment variables in the configuration files.
Use them in the upgrade_account_chart.py script
2019-09-06 00:15:48 +02:00
?ngel ?lvarez
cfdafdfe1e fix rule permission on db with multiple companies 2019-09-04 16:01:54 +02:00
?ngel ?lvarez
257e02bf84 ensure fields exists on some queries 2019-08-14 12:42:13 +02:00
Albert Cervera i Areny
f7fe6ede59 Use class properties instead of using config global varialb in Upgrade class. 2019-08-14 11:58:26 +02:00
?ngel ?lvarez
59f62212cd add missing script files 2019-08-14 09:51:18 +02:00
?ngel ?lvarez
b2f0c5ef44 fix sinc taxes. 2019-08-14 09:50:55 +02:00
?ngel ?lvarez
1d32e24a38 check parent companies to setup properies. 2019-07-28 10:46:41 +02:00
Albert Cervera i Areny
d4f2467e00 Merge run-scripts branch. 2019-07-26 16:43:37 +02:00
Albert Cervera i Areny
d5a5de9fba Set end_date inactive account taxes and accounts 2019-07-26 16:36:35 +02:00
Raimon Esteve
111f48fc8b Set end_date inactive account taxes and accounts 2019-07-26 15:11:38 +02:00
Albert Cervera i Areny
e9d31515bf Ensure account type of receivable / payable accounts are actually receivable / payable. 2019-07-18 12:29:29 +02:00
Albert Cervera i Areny
1f87282a78 In config.yml, change column types on the appropriate in a previous version because starting 4.0 fields no longer exist. 2019-07-18 12:10:17 +02:00
Albert Cervera i Areny
51b7bff0fd Fix the check of existing field. Table is spelled production_lead_time, not production_location_lead_time. 2019-07-17 11:23:10 +02:00
Albert Cervera i Areny
f48223fba3 Remove duplicate type conversion for previous_declaration_receipt field. 2019-07-17 11:22:36 +02:00
Albert Cervera i Areny
b57116fa5a Allow configuring override file and ignore messages.
Added the possibility of ignoring some warnings in config.yml/upgrade.yml using
the 'ignore' key.

Also, allow specifying the name of the override file from the command line.
2019-07-17 00:43:29 +02:00
Albert Cervera i Areny
55513cef4a In config.yml, fix the version on which the type of previous_declaration_receipt field changed. 2019-07-16 16:23:27 +02:00
Albert Cervera i Areny
23c26e1280 In config.yml, remove lead_time fields as their type has changed and they're
hardly used by our customers, so better remove them to let the update to create
them again.
2019-07-16 16:22:27 +02:00
Albert Cervera i Areny
fba33478aa Use to_uninstall to remove stock_reservation module. 2019-07-10 10:23:45 +02:00
Albert Cervera i Areny
1e5db206d3 Remove all records from ir_model_data related to the ir.property model. 2019-07-09 18:28:07 +02:00
Albert Cervera i Areny
c4cecf8f14 Show the number of errors and warnings in the summary report. 2019-07-09 18:26:21 +02:00
Albert Cervera i Areny
7a926b4b7e Remove all records from babi_report_execution table so the second update can make the company field not null. 2019-07-09 18:25:47 +02:00
Albert Cervera i Areny
e2fe072858 Do not set to NULL the type of views of farm module. 2019-07-09 18:24:49 +02:00
Albert Cervera i Areny
39410aa813 Remove commented code in config.yml 2019-07-09 17:36:57 +02:00
Albert Cervera i Areny
dd3698bda5 Add call to remove_deprecated_taxes.py to config.yml 2019-07-09 17:35:59 +02:00
Albert Cervera i Areny
9be9f693cf Run remove_deprecated_taxes.py script in "before" step and simplify it just by setting to NULL the template on taxes and setting an end_date to them. 2019-07-09 17:33:25 +02:00
Raimon Esteve
d5acb8b557 Remove account_bank_reconciliation that the bank_reconcile is False in account 2019-07-08 14:59:38 +02:00