Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2129 Zobrazení

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
Zrušit
Autor

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>

Related Posts Odpovědi Zobrazení Aktivita
0
dub 24
1025
1
bře 24
2307
3
čvn 23
1627
1
čvn 21
4189
3
zář 18
3774