account_asset_management: group invoice lines fix
This commit is contained in:
parent
2ba8b47612
commit
7b422b6c18
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user