2
0
account-financial-tools/account_asset_management/models
Jairo Llopis ca744428ef [FIX] account_asset_management: make asset company match move's
To start, the context `company_id` is no longer used in v14. Instead, we use `with_company`.

OTOH, it doesn't make much sense because in case you have several companies enabled in your context, not necessarily your main one is gonna be the one that should be used for the asset. Instead, it should be the move company always, or consistency rules will fail.

Altered forward port of https://github.com/OCA/account-financial-tools/pull/1223.

@Tecnativa TT31311
2022-12-24 00:42:22 +01:00
..
__init__.py [MIG] account_asset_management: Migration to v14 2022-12-24 00:42:21 +01:00
account_account.py [MIG] account_asset_management: Migration to 13.0 2022-12-24 00:42:21 +01:00
account_asset_group.py [FIX] account_asset_management: Fix error according to _name_search in group when try to set groups in profile 2022-12-24 00:42:22 +01:00
account_asset_line.py [IMP] account_asset_management: Add analytic tags and propagate 2022-12-24 00:42:22 +01:00
account_asset_profile.py [FIX] account_asset_management: include 'number' method_time 2022-12-24 00:42:22 +01:00
account_asset_recompute_trigger.py [MIG] account_asset_management: Migration to 13.0 2022-12-24 00:42:21 +01:00
account_asset.py [FIX] account_asset_management: include 'number' method_time 2022-12-24 00:42:22 +01:00
account_move.py [FIX] account_asset_management: make asset company match move's 2022-12-24 00:42:22 +01:00