Skip to Content
मेन्यू
This question has been flagged
3175 Views

Hi, im trying to modify POS ticket printed with Posbox, i want to add "default_code" before Product name.

I have touched /odoo/odoo-server/addons/point_of_sale/static/src/xml/pos.xml  

Im trying modify  <t t-name="XmlReceipt"> section:

             <t t-if='!simple'>

                        <line><left><t t-esc='line.product_name' /></left></line> 

to:

             <t t-if='!simple'>

                        <line><left><t t-esc='line.default_code' /></left></line> 

i cant get it .

Any tip will be welcomed. Thanks.

Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 15
3657
1
अप्रैल 25
1406
0
फ़र॰ 25
1450
0
सित॰ 17
3090
1
अप्रैल 15
3971