Merge PR #1011 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2024-02-18 17:02:13 +00:00

View File

@@ -88,7 +88,7 @@ class ContractContract(models.Model):
string="Payment Terms", string="Payment Terms",
index=True, index=True,
check_company=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") invoice_count = fields.Integer(compute="_compute_invoice_count")
fiscal_position_id = fields.Many2one( fiscal_position_id = fields.Many2one(