Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3151 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
3650
1
dub 25
1395
0
úno 25
1439
0
zář 17
3084
1
dub 15
3956