Skip to main content

Odoo 12 POS Receipt issue

Hello Guys, in this post i just wanna share issue on odoo 12 POS receipt and the fix. last time i check this issue still occur (around january 2019). and i suppose my colleague already report this issue.

To reproduce issue


Open any chat and leave it open then open POS session


Do normal POS order and print the receipt. Odoo bot will include in the receipt


For offline mode there is also bug in the POS receipt


To solve issue


I notice in the base code there is attempt to solve the issue but doesn’t do any effect since it is misplaced (css code → for class “o_thread_window” on mail module not loaded on POS interface) so need to add similar code in POS asset


Add similar css code for class o_thread_window, .o_notification_manager, .o_dial
and load it on POS asset

Comments

Popular posts from this blog

Odoo: How to Inherit Controller

Sometime we need to modify a certain behavior when accessing odoo url (route). That time we need to do inheritance to odoo controller and then put our desired custom behavior when the url triggered. The way to inherit an odoo controller is slightly different than to inherit odoo object/model. In this tutorial i will do inheritance on odoo route "/shop/checkout" which is the url route when doing website sale checkout, because i want to show some specific product information on the website that i cant call in the xml template unless i parse the data from python controller to xml view. Lets jump into it. Here is the base controller Here is the inheritance controller in the example above i import base controller class (WebsiteSale) and use it as parameter on my new class (WebsiteSaleInherit). Thats it !! Comment below if you have any questions.

Odoo: Get File Name of Uploaded Binary File

When uploading a file binary on odoo sometimeS we need to store the original file name for informative purpose. So thats why this tutorial will come in handy. well that was ridiculously fast !!! Things that need to take into account is make sure you add those xml on your formview because most of uploading file operation happen in formview. And then ypu can use the field file name in treeview.