mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] subscription_oca: modify tree view
- Add start date - Add finish date - Change 'Etapa' string to 'Stage'
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user