From 7b422b6c1856f6aff049a95280249610ef9dd226 Mon Sep 17 00:00:00 2001 From: luc-demeyer Date: Mon, 1 Jun 2015 19:55:32 +0200 Subject: [PATCH] account_asset_management: group invoice lines fix --- account_asset_management/account_asset_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_asset_management/account_asset_invoice.py b/account_asset_management/account_asset_invoice.py index 4fcaf0a5..e44d838a 100644 --- a/account_asset_management/account_asset_invoice.py +++ b/account_asset_management/account_asset_invoice.py @@ -73,9 +73,9 @@ class account_invoice(orm.Model): res['asset_category_id'] = x['asset_category_id'] return res - def inv_line_characteristic_hashcode(self, invoice, invoice_line): + def inv_line_characteristic_hashcode(self, invoice_line): res = super(account_invoice, self).inv_line_characteristic_hashcode( - invoice, invoice_line) + invoice_line) res += '-%s' % invoice_line.get('asset_category_id', 'False') return res