Skip to content

Commit

Permalink
[IMP] subscription_oca: modify tree view
Browse files Browse the repository at this point in the history
- Add start date
- Add finish date
- Change 'Etapa' string to 'Stage'
  • Loading branch information
renda-dev committed Jan 17, 2024
1 parent 0585b3b commit 9355631
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion subscription_oca/models/sale_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions subscription_oca/views/sale_subscription_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9355631

Please sign in to comment.