2
0

account_asset_management: group invoice lines fix

This commit is contained in:
luc-demeyer 2015-06-01 19:55:32 +02:00 committed by Rodrigo
parent 2ba8b47612
commit 7b422b6c18

View File

@ -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