[FIX] point_of_sale : fix bug where we add lot.

An error occurs when adding a product with a batch sales rule
syntax correction
This commit is contained in:
lejeune quentin
2018-09-28 15:01:46 +02:00
committed by Gert Pellin - GPE
parent cc2eb5ea0f
commit 799fb5e6f0
+1 -1
View File
@@ -1269,7 +1269,7 @@
<t t-if="line.get_product().tracking!=='none'">
<i class="oe_link_icon fa fa-list oe_icon line-lot-icon oe_green" t-if="line.has_valid_product_lot()"
aria-label="Valid product lot" role="img" title="Valid product lot"/>
<i class="oe_link_icon fa fa-list oe_icon line-lot-icon oe_red" t-if="not(line.has_valid_product_lot())"
<i class="oe_link_icon fa fa-list oe_icon line-lot-icon oe_red" t-if="!(line.has_valid_product_lot())"
aria-label="Invalid product lot" role="img" title="Invalid product lot"/>
</t>
</span>