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

where location and file name for POS Reciept Odoo 16? 

i want add number to order line and remove Tax field from Receipt

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thank you Cybrosys Techno Solutions Pvt.Ltd, this helpful

File for POS Receipt is point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml

الصورة الرمزية
إهمال
الكاتب

@Cybrosys Techno Solutions Pvt.Ltd ,how to setting width for Order Line Product? because i have long product name and on the reciept not fully 100% width myabe only 60%. it try edit adding width to xml/css not work

أفضل إجابة

Hi,

The POS receipt is located in point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml.

Inherit the template below to add a number to the order line and remove the tax field from the receipt.<templates id="template" xml:space="preserve">

    <t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">

</t>

<xpath expr="//div[hasclass('orderlines')]" position="after">

   //code here

</xpath>

</templates>


Hope it helps

الصورة الرمزية
إهمال

@Cybrosys Techno Solutions Pvt.Ltd ,how to setting width for Order Line Product? because i have long product name and on the reciept not fully 100% width myabe only 60%. it try edit adding width to xml/css not work

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
650
3
أغسطس 25
790
3
أغسطس 25
1953
1
يوليو 25
893
0
أغسطس 25
694