mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_partner_required: constraint depends on account_id
This commit is contained in:
committed by
Nhomar Hernández [Vauxoo]
parent
e31a5c961e
commit
bca982a673
@@ -95,5 +95,5 @@ class account_move_line(orm.Model):
|
||||
_constraints = [
|
||||
(_check_partner_required,
|
||||
_check_partner_required_msg,
|
||||
['partner_id']),
|
||||
['partner_id', 'account_id']),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user