[FIX] account_asset: correct typo in function name

This commit is contained in:
Christophe Simonis
2016-08-19 12:45:11 +02:00
parent e5371329f7
commit 826472dc48
+1 -1
View File
@@ -371,7 +371,7 @@ class AccountAssetDepreciationLine(models.Model):
categ_type = line.asset_id.category_id.type
debit_account = line.asset_id.category_id.account_asset_id.id
credit_account = line.asset_id.category_id.account_depreciation_id.id
prec = self.env['decimal.precision'].precision_ger('Account')
prec = self.env['decimal.precision'].precision_get('Account')
self.env['account.move.line'].create({
'name': asset_name or reference,
'ref': reference,