Skip to content

Commit

Permalink
[MIG] website_sale_account_invoice_commission: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc authored and jjscarafia committed Apr 6, 2023
1 parent c6b53be commit d4a1e42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website_sale_account_invoice_commission/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Commission Invoices with Public Categories',
'version': "15.0.1.0.0",
'version': "16.0.1.0.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand All @@ -37,7 +37,7 @@
],
'demo': [
],
'installable': False,
'installable': True,
'auto_install': True,
'application': False,
}
Expand Up @@ -16,9 +16,9 @@ class AccountCommissionRule(models.Model):
)

def _get_rule_domain(
self, date, product, partner_id, customer, amount, analytic_acc):
self, date, product, partner_id, customer, amount):
domain = super()._get_rule_domain(
date, product, partner_id, customer, amount, analytic_acc)
date, product, partner_id, customer, amount)
if not product:
domain += [('public_category_id', '=', False)]
else:
Expand Down

0 comments on commit d4a1e42

Please sign in to comment.