Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?



Awatar
Odrzuć
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>

Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 24
1027
1
mar 24
2307
3
cze 23
1636
1
cze 21
4194
3
wrz 18
3785