跳至內容
選單
此問題已被標幟
2151 瀏覽次數

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?



頭像
捨棄
作者

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>

相關帖文 回覆 瀏覽次數 活動
0
4月 24
1036
1
3月 24
2310
3
6月 23
1649
1
6月 21
4200
3
9月 18
3805