İçereği Atla
Menü
Bu soru işaretlendi
2133 Görünümler

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?



Avatar
Vazgeç
Üretici

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>

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 24
1026
1
Mar 24
2307
3
Haz 23
1633
1
Haz 21
4192
3
Eyl 18
3775