Join the Odoo Inner Circle to view the premium video below.
Add Custom Fields to the POS Application
Introduction - Overview to adding custom fields to POS Application
Overview of what was done in the previous video
Using browser developer tools to find place in html structure
Using grep to find the code you need to change on the server
Finding the xml file with the view that you need to extend
Adding the new product field to the PoS offline database model
Adding qweb file to respective session on the manifest file
Loading your code in the point_of_sale.assets template
Using jquery selector to extend the template used in the ClientDetails section
Using jquery selector to extend the template used in the ClientDetailsEdit form

Add Custom Fields to the POS Application

20.00 20.0 USD


Free with Odoo Inner Circle Add to Cart

Odoo's powerful open source Point of Sale system can be customized once you learn a few tricks. In this video you learn how to add custom fields to the POS interface. This can be used to develop powerful Point of Sale modules that can better meet custom retail business requirements.

Video Length:   14 Minutes
Free With Odoo Inner Circle

Customizing the Odoo Point of Sale Application

Unlike many of the other applications in Odoo, the POS application has it's own special framework that allows the application to run without being connected to the Internet. Transactions are automatically synced up to the server once the device is connected.

Debugging Odoo web applications and jQuery

In this video you will learn how to use the debug tools that are built into your browser to examine elements in the Odoo POS application. The Point of Sale application has a much more involved web front end and depending on your requirements you will need to learn some basic jQuery. This video shows you an example of how to add custom fields to your Odoo point of sale application interface. 

Expanding your Odoo Developer Skillset with web apps

In the Developing Custom POS Applications in Odoo v10 you learned how the basic foundation of the Odoo POS application fit together. In this video we look at the POS framework from the web perspective taking you into jQuery and understanding XML templates. This is not a beginner video and you should reference the associated videos below for more information.

    Odoo image and text block

    Extending the POS Application with custom fields

    Here we can see some sample code from the video that demonstrates how you extend the Odoo POS application to have extra fields. Notice here that like with all the videos on we follow the best development practice of not changing any of the Odoo source code. Instead we use inheritence to extend the POS application to include our custom field.

    Please be aware that with the POS application you have a form of inheritance in which the POS model derives its own offline model from the standard Odoo framework to maintain persistence while not connected to the internet.  Understanding this is critical to developing an Odoo application for a retail POS module and is a major focus of the video.