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

Hello. 

How can i inherit ReceiptScreen from PoS with my module.






Hello





'qweb': [ "views/receipt.xml",],


It doesn't affect

アバター
破棄
最善の回答

Hi,

Change the manifest code 'qweb': [ "views/receipt.xml",], into assets
In manifest file,

'assets': {

'web.assets_backend': [
'module_technical_name/static/src/js/filename.js',
// path of the particular js file
],
'web.assets_qweb':
[
'module_technical_name/static/src/xml/filename.xml',
 
// path of the particular xml file
],

},

If you need to customize the pos receipt, the following blog will help you

How to Customize PoS Receipts in Odoo 15

Regards

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 22
3116
1
3月 15
4787
0
3月 22
127
0
11月 16
5073
1
10月 23
2377