From 26dc35120a9a6e0be47e36d4c8d3fe882d90d026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 4 Dec 2024 15:13:24 +0100 Subject: [PATCH] [IMP] contract: make invoicing offset modifiable This is not perfect as apparently the line must be saved for this to take effect, as the on-screen value is not refreshed immediately. --- contract/models/contract_recurrency_mixin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contract/models/contract_recurrency_mixin.py b/contract/models/contract_recurrency_mixin.py index aebc76c3f2..d88a51d713 100644 --- a/contract/models/contract_recurrency_mixin.py +++ b/contract/models/contract_recurrency_mixin.py @@ -36,6 +36,8 @@ class ContractRecurrencyBasicMixin(models.AbstractModel): ) recurring_invoicing_offset = fields.Integer( compute="_compute_recurring_invoicing_offset", + readonly=False, + store=True, string="Invoicing offset", help=( "Number of days to offset the invoice from the period end "