Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3343 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 15
3909
1
apr. 25
1886
0
feb. 25
1866
0
sep. 17
3349
1
apr. 15
4336