Skip to content

Commit

Permalink
[IMP] Simplify report
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed Feb 18, 2021
1 parent 986c2ce commit f8cfad3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sale_configurator_base/templates/sale_report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@
</xpath>
<xpath expr="//td[@name='td_subtotal']" position="replace">
<td name="td_subtotal" class="text-right o_price_total">
<t
t-set="is_child"
t-value="line.parent_id and (not line.child_ids) and (not line.report_line_is_empty_parent)"
/>
<t t-set="is_child" t-value="line.parent_id" />
<t
t-set="is_parent_with_price"
t-value="line.child_ids and (not line.report_line_is_empty_parent)"
Expand Down

0 comments on commit f8cfad3

Please sign in to comment.