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(
|
stage_str = fields.Char(
|
||||||
related="stage_id.name",
|
related="stage_id.name",
|
||||||
string="Etapa",
|
string="Stage",
|
||||||
store=True,
|
store=True,
|
||||||
)
|
)
|
||||||
sale_subscription_line_ids = fields.One2many(
|
sale_subscription_line_ids = fields.One2many(
|
||||||
|
|||||||
@@ -221,6 +221,8 @@
|
|||||||
<field name="amount_total" sum="Total" optional="show" />
|
<field name="amount_total" sum="Total" optional="show" />
|
||||||
<field name="template_id" optional="show" />
|
<field name="template_id" optional="show" />
|
||||||
<field name="stage_str" optional="show" />
|
<field name="stage_str" optional="show" />
|
||||||
|
<field name="date_start" optional="show" />
|
||||||
|
<field name="date" optional="show" />
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user