Commit Graph

13 Commits

Author SHA1 Message Date
Miquel Raïch
707a55ed30 [OU-FIX] account_asset_management: fill move_id in asset lines in migration 2022-03-24 18:00:41 +01:00
Pedro M. Baeza
ccbba150f3 [OU-FIX] account_asset_management: Missing XML-IDs renames
If not, record rules will be duplicated.

TT33969
2022-01-18 17:32:08 +01:00
Miquel Raïch
f7b9dc5c50 [IMP][MIG] account_asset_management: delete obsolete xmlids 2022-01-11 14:44:53 +01:00
Stefan Rijnhart
6cccea0193 [12.0][FIX] account_asset_management: fix error in parent to group migration
Return the id from the subselect by its column name in the main query. Fixes
incomplete and incorrect group assignment during the migration.
2021-04-23 17:56:35 +02:00
mreficent
241aa3e563 [FIX] account_asset_management: method_time migration was incomplete 2021-04-20 09:56:19 +02:00
Pedro M. Baeza
666012dd02 [MIG+IMP] account_asset_management: Use other column for running migration scripts
Old versions of account_asset module contains a parent_id column for assets, which
triggers this migration scripts, but giving error later, as the expected data is
not there (only account_asset_management module contains it), so we use another
column for detecting the condition.
2020-02-28 10:47:51 +01:00
Pedro M. Baeza
05ac56f3d5 [MIG] account_asset_management: Set asset line previous pointer
Set pointer to the previous depreciation line on each asset line.
This must be executed before `add_asset_initial_entry` for being
populated correctly.
2020-02-14 01:48:31 +01:00
Pedro M. Baeza
6ab9a1e621 [MIG] account_asset_management: Add asset initial entry
On OCA module, an initial depreciation line is created as summary of the
asset. We recreate that line here for the old assets.
2020-02-14 01:48:19 +01:00
Pedro M. Baeza
6d1b5af47b [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2019-12-01 18:05:14 +01:00
Pedro M. Baeza
8ae7af2c3b [MIG] account_asset_management: Handle account_asset_disposal migration 2019-11-08 00:41:04 +01:00
Pedro M. Baeza
738a4d1fcd [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2019-09-10 12:08:34 +02:00
Henrik Norlin
8486c9c0ce [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2019-08-31 19:57:54 +02:00
Henrik Norlin
0aa62d46d8 [MIG] 11.0 account_asset to 12.0 account_asset_management 2019-08-31 03:57:09 +02:00