Skip to content
Snippets Groups Projects
Unverified Commit 49033e3e authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[FIX] website_quote: make table for options similar to pricing table

The options table displays the following columns:
Product name | Description | Price
while the pricing table ommits this first column. This is quite a
good idea as products are not always accessible to portal/public
users depending on what modules are installed (notably website_sale
which introduce the published/unpublished record rule on products).

To avoid introducing an extra-sudo simply for display reasons,
this commit simply remove the product name column and harmonizes
the options display with the main pricing display.
parent 4b831fb4
No related branches found
No related tags found
No related merge requests found
......@@ -571,8 +571,7 @@
<table class="table table-hover wq-table">
<thead>
<tr>
<th>Products</th>
<th>Description</th>
<th>Product</th>
<th></th>
<th class="text-right">Price</th>
<th></th>
......@@ -581,9 +580,6 @@
<tbody>
<tr t-foreach="quotation.options" t-as="option">
<t t-if="not option.line_id">
<td>
<div t-field="option.product_id.product_tmpl_id.name"/>
</td>
<td>
<div t-field="option.name"/>
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment