Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3147 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3647
1
เม.ย. 25
1392
0
ก.พ. 25
1438
0
ก.ย. 17
3081
1
เม.ย. 15
3955