Files
account-financial-tools/account_asset_management/models
Pedro M. Baeza 424ac791dd [FIX] account_asset_management: Don't empty profile
Steps to reproduce the problem

- Create an asset profile with any asset account
- Don't set the asset profile in such account
- Create a vendor bill
- Add a line, and select the asset profile

Current behavior:

- The account is set, but the profile is emptied

Expected behavior:

- Both account and profile are set

This is because there's a condition on the computed writeable field
that empty the value if no asset of the account doesn't have a linked
profile, but that's not correct and different from the previous behavior
before #1336

If CacheMiss exceptions arise, the proper solution is to reassign the
value.

TT35354
2022-03-24 15:54:12 +01:00
..