[FIX] account_partner_required: constraint depends on account_id
This commit is contained in:
parent
6b1c3068ec
commit
deb6e15377
@ -95,5 +95,5 @@ class account_move_line(orm.Model):
|
||||
_constraints = [
|
||||
(_check_partner_required,
|
||||
_check_partner_required_msg,
|
||||
['partner_id']),
|
||||
['partner_id', 'account_id']),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user