Support return on purchase
review474002
This commit is contained in:
1 parent
23f5ec2b73
commit
4d3092a852
1 file changed
+3
-2
+3
-2
@@ -196,10 +196,11 @@ class PurchaseLine:
|
||||
})
|
||||
return new_lines
|
||||
|
||||
def get_invoice_line(self):
|
||||
def get_invoice_line(self, invoice_type):
|
||||
AccountSelection = Pool().get('analytic_account.account.selection')
|
||||
|
||||
invoice_lines = super(PurchaseLine, self).get_invoice_line()
|
||||
invoice_lines = super(PurchaseLine, self).get_invoice_line(
|
||||
invoice_type)
|
||||
if not invoice_lines:
|
||||
return invoice_lines
|
||||
|
||||
|
||||
Reference in new issue
Block a user