[14.0][FIX] account_asset_management, fix multi currency
This commit is contained in:
parent
0ef94127f9
commit
32c477bdb4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user