refactor: Add t-name attribute and remove owl="1" from OrderWidget template extension.
This commit is contained in:
parent
37971ab74d
commit
04af9538f2
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-inherit="point_of_sale.OrderWidget" t-inherit-mode="extension" owl="1">
|
||||
<t t-name="pos_ui_optimization.OrderWidgetPatch" t-inherit="point_of_sale.OrderWidget" t-inherit-mode="extension">
|
||||
<xpath expr="//t[@t-foreach='props.lines']" position="attributes">
|
||||
<attribute name="t-foreach">linesToDisplay</attribute>
|
||||
</xpath>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user