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: 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.

Install odoo 12 : Linux/Ubuntu/Debian

clone/download odoo 12 community from odoo github: https://github.com/odoo/odoo (optional) clone odoo 12 enterprise addons from github: https://github.com/odoo/enterprise move odoo 12 and enterprise addons to "System Disk" so we have this directory: Directory path would be /odoo12 Download this install script and execute/modify to adjust folder position (if you plan to store odoo in different directory than mine) https://github.com/akhmadkresna/odoo12-_install_script.git # Adjust the script to match your environment sudo nano odoo-install.sh # Adjust permission sudo chmod +x odoo-install.sh # Execute the script to install Odoo: ./odoo-install install python requirement  pip3 install libsass THATS IT !!!

Odoo: Create Sequence or Running Number

Odoo sequence ussually needed for automatically generated and suppose to be unique value to identified certain object or in this context is document. For example company need unique document number for every Sales document they have. When we need to create NEW sequence in odoo ? When we have new object and this object suppose to have unique and auto generated number. in this example we have new object called 'sale.doc' will be used to store any document related to SO such as contract, delivery doc etc. 1. create xml code to declare the sequence 2. call the sequence and set it on certain char field ('name) that belongs to the same object