Permalink
Browse files

Merge pull request #5 from Eficent/10.0-Eficent-mig-sale_commission_f…

…ormula

[10.0][sale_commission_formula][FIX] little fix
  • Loading branch information...
hurrinico committed Jul 20, 2017
2 parents f0851df + f2c8d36 commit 0b0371852b1db9ec293df10128a541f1ab10f54d
Showing with 1 addition and 1 deletion.
  1. +1 −1 sale_commission_formula/models/account_invoice.py
@@ -12,7 +12,7 @@ class AccountInvoiceLineAgent(models.Model):
@api.model
def _get_formula_input_dict(self):
return {'line': self.sale_line,
return {'line': self.invoice_line,
'self': self}
@api.depends('commission.commission_type', 'invoice_line.price_subtotal',

0 comments on commit 0b03718

Please sign in to comment.