コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2793 ビュー

Im try to modify PosTicket and I have this code:

mymodule/static/src/xml/pos.xml:

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="PosTicket">
<t t-jquery=".pos-sale-ticket" t-operation="append">
<span>hola</span>
</t>
</t>
</templates>


mymodule/__manifest__.py

{
'name': "mymodule",
'summary': """ Modify PosTicket""",
'author': "Me",
'website': "http://www.myweb.do",
'category': 'Tool',
'version': '0.1',

'depends': ['base','point_of_sale'],
'qweb': [
'static/src/xml/pos.xml',
],
}


But when  I print the ticket, I dont see the changes

If someone can show if I jumped an step or something that I dont see, please help

PD: I'm workin in odoo 11

アバター
破棄
最善の回答

Your xml and manifest files seems correct. Check your module structure, or whether it is installed correctly

アバター
破棄
関連投稿 返信 ビュー 活動
1
10月 23
1991
2
1月 23
2552
1
9月 17
6267
1
10月 24
1484
1
6月 23
8319