get_invoice_line takes invoice_type now
(transplanted from 4b858296c2da5b079fafcedd977cb25c0042b4c6)
This commit is contained in:
1 parent
883331878c
commit
4c99182239
1 file changed
+2
-2
@@ -182,11 +182,11 @@ class SaleLine(ModelSQL, ModelView):
|
||||
return new_ids[0]
|
||||
return new_ids
|
||||
|
||||
def get_invoice_line(self, line):
|
||||
def get_invoice_line(self, line, invoice_type):
|
||||
pool = Pool()
|
||||
account_selection_obj = pool.get('analytic_account.account.selection')
|
||||
|
||||
res = super(SaleLine, self).get_invoice_line(line)
|
||||
res = super(SaleLine, self).get_invoice_line(line, invoice_type)
|
||||
if not res:
|
||||
return res
|
||||
|
||||
|
||||
Reference in new issue
Block a user