Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3494 Vues

Hello. 

How can i inherit ReceiptScreen from PoS with my module.






Hello





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


It doesn't affect

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
nov. 22
2880
1
mars 15
4531
0
mars 22
127
0
nov. 16
4826
1
oct. 23
2169