Fix TypeError: _get_invoice_sale() takes exactly 2 arguments (1 given)
This commit is contained in:
parent
2a8f961c08
commit
705673d090
|
@ -14,8 +14,8 @@ __metaclass__ = PoolMeta
|
|||
class Sale:
|
||||
__name__ = 'sale.sale'
|
||||
|
||||
def _get_invoice_sale(self, invoice_type):
|
||||
invoice = super(Sale, self)._get_invoice_sale(invoice_type)
|
||||
def _get_invoice_sale(self):
|
||||
invoice = super(Sale, self)._get_invoice_sale()
|
||||
invoice.shop = self.shop
|
||||
return invoice
|
||||
|
||||
|
|
Loading…
Reference in New Issue