Skip to content
Snippets Groups Projects
Commit bdfed675 authored by Jorge Pinna Puissant's avatar Jorge Pinna Puissant
Browse files

[FIX] website_quote: Show 'Unit Price' column from quote template line


Before this commit, the unit price of the quote template line were
hidden.

Now, the unit price are shown. This is necessary because the unit price
is used if :
- the template is selected before the customer (price_list) is selected.
- the price_list is "Show public price & discount to the customer"

This commit revert  94164834

opw-2039071

closes odoo/odoo#35069

Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 041ec73b
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@
<field
name="product_uom_qty" class="oe_inline"/>
</div>
<field name="price_unit" invisible="1"/>
<field name="price_unit"/>
<label for="discount" groups="sale.group_discount_per_so_line"/>
<div groups="sale.group_discount_per_so_line">
<field name="discount" class="oe_inline"/> %%
......@@ -73,7 +73,7 @@
<field name="product_uom_qty"/>
<field name="product_uom_id" groups="product.group_uom"/>
<field name="discount" groups="sale.group_discount_per_so_line"/>
<field name="price_unit" invisible="1"/>
<field name="price_unit"/>
<field name="website_description" invisible="1"/>
</tree>
</field>
......@@ -86,7 +86,7 @@
<field name="name"/>
<field name="quantity"/>
<field name="uom_id" groups="product.group_uom"/>
<field name="price_unit" invisible="1"/>
<field name="price_unit"/>
<field name="discount" groups="sale.group_discount_per_so_line"/>
<field name="website_description" invisible="1"/>
</tree>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment