From b7486c37cd299188ad54ad347c875ac27b42c517 Mon Sep 17 00:00:00 2001 From: Emanuel Buzey <buzeyemanuel@gmail.com> Date: Tue, 10 Oct 2023 13:45:39 +0200 Subject: [PATCH] [FIX] energy_selfconsumption: remove translate --- .../wizards/define_invoicing_mode_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py b/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py index 61d48775c..68806c392 100644 --- a/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py +++ b/energy_selfconsumption/wizards/define_invoicing_mode_wizard.py @@ -19,7 +19,7 @@ class ContractGenerationWizard(models.TransientModel): invoicing_mode = fields.Selection( INVOICING_VALUES, - string=_("Invoicing Mode"), + string="Invoicing Mode", default="power_acquired", required=True, ) @@ -28,14 +28,14 @@ class ContractGenerationWizard(models.TransientModel): recurrence_interval = fields.Integer( default=1, - string=_("Invoice Every"), + string="Invoice Every", required=True, help=_("Invoice every (Days/Week/Month/Year)"), ) recurring_rule_type = fields.Selection( RULE_TYPE_OPTIONS, default="monthlylastday", - string=_("Recurrence"), + string="Recurrence", required=True, help=_("Specify Interval for automatic invoice generation."), ) -- GitLab