コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3145 ビュー

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
3月 15
3647
1
4月 25
1392
0
2月 25
1438
0
9月 17
3081
1
4月 15
3955