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

1) Hi, I have a problem, my custumer don't want the field of taxes in the ticket, I use a raspberry pi with  image, I try to delete the field from "/odoo/addons/point_of_sale/static/src/xml/pos.xml", but the taxes still show, so I think is in the raspberry where the magic happen jejeje.

Question 1) Someone know where is this file or I am wrong?

Thank you very much :D

Аватар
Отменить

Please avoid mixing questions in one thread. Post one by one, thanks.

Лучший ответ

Hi,

As far as my knowledge I think while using the Raspberry  or pos box the receipt is not getting generated from the template (/odoo/addons/point_of_sale/static/src/xml/pos.xml).

In this case you can check the  "odoo/addons/hw_escpos/controllers/main.py" . Inside this you can see a function named print_receipt_body .

Here you want to make necessary changes. Inside this function you can see the function for the taxes, ie function def print_taxes



Thanks


Аватар
Отменить
Автор

Thank you very much, I found it, but looks like I do not have the privileges, "Error writting main.py: Read only file system", even I use sudo. I loggin from ssh with user pi , password raspberry, do you know which one is the super user ?

Related Posts Ответы Просмотры Активность
0
июн. 16
3987
2
авг. 17
6003
1
февр. 17
3300
4
мая 25
22755
1
нояб. 24
1273