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

I've created a module for custom OrderReceipt in Odoo 15 and  my XML is






Hello world!



   my manifest contains this


"assets": {
"web.assets_qweb": [
"custom_report/static/src/qweb/**/*"
],

But not working. Can somebody help me?



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

XML
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="custom_order_receipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('pos-receipt-contact')]" position="replace">
<div id="Contact"> Hello world!</div>
</xpath>
</t>
</templates>

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1054
1
thg 3 24
2320
3
thg 6 23
1660
1
thg 6 21
4224
3
thg 9 18
3817