[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 manu
parent f51ecc6c69
commit b7b4818f00

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,