Skip to content

Commit

Permalink
[FIX] account_partner_required: constraint also depends on debit and …
Browse files Browse the repository at this point in the history
…credit
  • Loading branch information
sbidoul committed Oct 29, 2014
1 parent 95178c0 commit 4b3fcfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_partner_required/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ def _check_partner_required(self, cr, uid, ids, context=None):
_constraints = [
(_check_partner_required,
_check_partner_required_msg,
['partner_id', 'account_id']),
['partner_id', 'account_id', 'debit', 'credit']),
]

0 comments on commit 4b3fcfb

Please sign in to comment.