[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)
|
return super().write(vals)
|
||||||
|
|
||||||
def _prepare_asset_vals(self, aml):
|
def _prepare_asset_vals(self, aml):
|
||||||
depreciation_base = aml.price_subtotal
|
depreciation_base = aml.balance
|
||||||
return {
|
return {
|
||||||
"name": aml.name,
|
"name": aml.name,
|
||||||
"code": self.name,
|
"code": self.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user