I managed to change the template for POS reciept to /addons/point_of_sale/static/src/xml/pos.xml , which is inside:
<t t-name="PosTicket">
But how to change the details on PosTicket?
<t t-name="PosTicket"> ..... <t t-esc="orderline.get_product().display_name"/>
???
I need to add notes under the name orderline.get_product (). display_name. What should I write so that he can show notes?
I tried to add
<t t-esc="orderline.get_note()" />
But it doesn't seem to work ... Does anyone know how to fix this?
PS: I already read:
https://www.odoo.com/forum/help-1/question/how-to-alter-the-pos-receipt-37199
Oduo point of sale + Posbox: how to change the receipt
Adding notes to order points in a restaurant POS
I think I found the answer myself. It:
After changing pos.xml, logging out and logging back in to n, he will complete the task ... :)
Source: https://habr.com/ru/post/1681711/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1681706/savejsontoes-takes-too-much-time-to-process-each-element-even-node-is-not-overloaded&usg=ALkJrhhD8vQGbK_4MhZHnpmP8N8WeqemUQdeploying a python flask application on heroku gives error with functools32 - pythonhide href url element - javascriptAdditional axis-like graph in matplotlib pandas graph - pythonPHP, PDO SQL Server, leading number 0 is cut out of returned data - phpYii2 Download Modules - phpOdoo Point of Sale + Posbox: how to change a receipt - openerpPandas: SettingWithCopyWarning: - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1681715/adding-notes-to-order-items-in-restaurant-pos&usg=ALkJrhjOPbgqUOa3wBSXa6ViOFYtC5wqmwUsing Winston in typescript - typescriptAll Articles