Skip to content

Commit

Permalink
fix error on domain
Browse files Browse the repository at this point in the history
  • Loading branch information
carlo committed May 8, 2017
1 parent 0ae1085 commit 7df8796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_commission/models/inherit_account_invoice.py
Expand Up @@ -32,7 +32,7 @@ class account_invoice(orm.Model):
_inherit = "account.invoice"

_columns = {
'section_id': fields.many2one('crm.case.section', 'Sales Team', domain=[('sale_agent', '!=', False)], states={'draft': [('readonly', False)]}),
'section_id': fields.many2one('crm.case.section', 'Sales Team', domain=[('sale_agent_id', '!=', False)], states={'draft': [('readonly', False)]}),
'agent_id': fields.related('section_id', 'sale_agent_id', type='many2one', relation='sale.agent',
string='Agent'),
'sale_order_ids': fields.many2many(
Expand Down

0 comments on commit 7df8796

Please sign in to comment.