Skip to content

Commit

Permalink
[FIX] contract: fix domain of payment_term_id field
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Oct 20, 2023
1 parent 16e2fd1 commit 03d6e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/models/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ContractContract(models.Model):
string="Payment Terms",
index=True,
check_company=True,
domain="[('company_id', '=', company_id)]",
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
)
invoice_count = fields.Integer(compute="_compute_invoice_count")
fiscal_position_id = fields.Many2one(
Expand Down

0 comments on commit 03d6e2a

Please sign in to comment.