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

Hello. 

How can i inherit ReceiptScreen from PoS with my module.






Hello





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


It doesn't affect

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 22
2834
1
mar 15
4495
0
mar 22
127
0
lis 16
4774
1
paź 23
2135