[IMP] point_of_sale: pos journal for each company
When the accounting localisation is installed after the POS config, the values on the default POS config which is in data are not completed because the POS config has been created before any journal exists. So now, when a chart template is installed, we are completing the POS config values, and creating the Sale POS journal. We also call the creation of POS journal when the point_of_sale module is installed after the template is installed on the database to be sure that we have a default value for POS journal. TASK-ID: 2008468
Showing
- addons/point_of_sale/data/point_of_sale_data.xml 1 addition, 8 deletionsaddons/point_of_sale/data/point_of_sale_data.xml
- addons/point_of_sale/models/__init__.py 1 addition, 0 deletionsaddons/point_of_sale/models/__init__.py
- addons/point_of_sale/models/chart_template.py 20 additions, 0 deletionsaddons/point_of_sale/models/chart_template.py
- addons/point_of_sale/models/pos_config.py 38 additions, 0 deletionsaddons/point_of_sale/models/pos_config.py
Please register or sign in to comment