refactor: Add t-name attribute and remove owl="1" from OrderWidget template extension.

This commit is contained in:
Suherdy Yacob 2026-03-17 16:05:52 +07:00
parent 37971ab74d
commit 04af9538f2

View File

@ -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>