From 9355631d69c777ba050c33b54ea736c23d4fcc90 Mon Sep 17 00:00:00 2001 From: Alessio Renda Date: Tue, 16 Jan 2024 17:54:00 +0100 Subject: [PATCH] [IMP] subscription_oca: modify tree view - Add start date - Add finish date - Change 'Etapa' string to 'Stage' --- subscription_oca/models/sale_subscription.py | 2 +- subscription_oca/views/sale_subscription_views.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/subscription_oca/models/sale_subscription.py b/subscription_oca/models/sale_subscription.py index 250f97a006..be989bac63 100644 --- a/subscription_oca/models/sale_subscription.py +++ b/subscription_oca/models/sale_subscription.py @@ -118,7 +118,7 @@ def _read_group_stage_ids(self, stages, domain, order): ) stage_str = fields.Char( related="stage_id.name", - string="Etapa", + string="Stage", store=True, ) sale_subscription_line_ids = fields.One2many( diff --git a/subscription_oca/views/sale_subscription_views.xml b/subscription_oca/views/sale_subscription_views.xml index 7aa3b47357..f04d6def71 100644 --- a/subscription_oca/views/sale_subscription_views.xml +++ b/subscription_oca/views/sale_subscription_views.xml @@ -221,6 +221,8 @@ + +