2
0

[14.0][FIX] account_asset_management, fix multi currency

This commit is contained in:
Kitti U 2021-09-09 18:00:40 +07:00 committed by Rodrigo
parent 0ef94127f9
commit 32c477bdb4

View File

@ -73,7 +73,7 @@ class AccountMove(models.Model):
return super().write(vals)
def _prepare_asset_vals(self, aml):
depreciation_base = aml.price_subtotal
depreciation_base = aml.balance
return {
"name": aml.name,
"code": self.name,