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

Hello. 

How can i inherit ReceiptScreen from PoS with my module.






Hello





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


It doesn't affect

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 22
2827
1
Mar 15
4485
0
Mar 22
127
0
Kas 16
4768
1
Eki 23
2130