Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1858 Lượt xem

where location and file name for POS Reciept Odoo 16? 

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you Cybrosys Techno Solutions Pvt.Ltd, this helpful

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

Ảnh đại diện
Huỷ bỏ
Tác giả

@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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

@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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
646
3
thg 8 25
788
3
thg 8 25
1952
1
thg 7 25
892
0
thg 8 25
692