[IMP] subscription_oca: modify tree view

- Add start date
- Add finish date
- Change 'Etapa' string to 'Stage'
This commit is contained in:
Alessio Renda
2024-01-16 17:54:00 +01:00
parent 0585b3ba4b
commit 9355631d69
2 changed files with 3 additions and 1 deletions

View File

@@ -118,7 +118,7 @@ class SaleSubscription(models.Model):
)
stage_str = fields.Char(
related="stage_id.name",
string="Etapa",
string="Stage",
store=True,
)
sale_subscription_line_ids = fields.One2many(

View File

@@ -221,6 +221,8 @@
<field name="amount_total" sum="Total" optional="show" />
<field name="template_id" optional="show" />
<field name="stage_str" optional="show" />
<field name="date_start" optional="show" />
<field name="date" optional="show" />
</tree>
</field>
</record>