[FIX] point_of_sale: right negation syntax in xml JS
f4bfc90755 reverted a bunch of commits,
including a legit bugfix in a XML for JS templates
This commit re-does that bugfix
OPW 1895212
closes odoo/odoo#28062
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user