This video shows how to create a module for Odoo 17 that shows available quantity on each product in POS screen.
There are several factors to consider when developing this Odoo module.
These include Python codes that will run on the server, Javascript codes that will run on the browser,
XML templates that will modify the UI functionality, and CSS to enhance the visual appearance.
In this video, I will be showing the following:
1. Extending Python class PosSession to allow additional fields to be sent to POS app.
2. Extendind Javascript class PosStore to store the additional fields.
3. Extending OWL components to display the data from the fields, in this case the product quantity.
See this video in bahasa Indonesia: • Video
Note:
If the module is not showing on the menu App, you need to update the apps list. Click on the [Update Apps List] menu on the top of the page.
See my other tutorial:
Enable Invoice on POS Order by Default: • Odoo Development Tutorial: Enable Inv...
Generating article with Google Gemini: • Odoo Development Tutorial: Generate A...
Recording sales person on POS orders: • Odoo Development Tutorial: Recording ...
Import lot and serial number from excel file: • Odoo Development Tutorial: Import Lot...
Adding order note to POS: • Odoo Development Tutorial: Adding not...
Easy setup for Odoo development environment: • Odoo Tutorial: Easy Development Setup...
Music by MaxKoMusic
Image assets designed by Saragnzalez, Olga_spb, Freepik