Hello Everyone,
I want to add category wise field in POS receipt.
For that, I taken one list for appending multiple category but it is not append.
So I want to know that, How to append multiple category value in list in POS template.
Here is code for that, which is implement by me. But it's not work.
Code :-
<t t-set="cat" t-value="[]"/>
AAAA<div t-esc="cat"/>
<t t-foreach="orderlines" t-as="orderline">
CAT<t t-set="cat" t-esc="cat + [orderline.product.pos_categ_id[0]]"/>
</t>
CCCCCCCCCC<div t-esc="cat"/>
Thanks in advance.
Regards,