diff --git a/account_payment_purchase/models/purchase_order.py b/account_payment_purchase/models/purchase_order.py index 3344aef33..9d0f26b3c 100644 --- a/account_payment_purchase/models/purchase_order.py +++ b/account_payment_purchase/models/purchase_order.py @@ -15,7 +15,8 @@ class PurchaseOrder(models.Model): store=True, precompute=True, string="Supplier Bank Account", - domain="[('partner_id', '=', partner_id), ('company_id', 'in', [False, company_id])]", + domain="[('partner_id', '=', partner_id)," + "('company_id', 'in', [False, company_id])]", check_company=True, help="Select the bank account of your supplier on which your company " "should send the payment. This field is copied from the partner "