Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3442 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 22
2834
1
мар. 15
4508
0
мар. 22
127
0
нояб. 16
4787
1
окт. 23
2141