تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3171 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3653
1
أبريل 25
1397
0
فبراير 25
1439
0
سبتمبر 17
3087
1
أبريل 15
3957