[ADD] point_of_sale: differentiate the sale and invoice journal
Using the same journal for both the session closing and the invoices generated from the PoS may be problematic as they share the same sequence. In such case, gaps may appears in the invoice numbers (as the sequence is on the account.move, closing a session increases the sequence by one). cf opw-685660 Fixes 13242
Showing
- addons/point_of_sale/data/point_of_sale_data.xml 9 additions, 0 deletionsaddons/point_of_sale/data/point_of_sale_data.xml
- addons/point_of_sale/models/pos_config.py 16 additions, 0 deletionsaddons/point_of_sale/models/pos_config.py
- addons/point_of_sale/models/pos_order.py 1 addition, 1 deletionaddons/point_of_sale/models/pos_order.py
- addons/point_of_sale/models/pos_session.py 6 additions, 3 deletionsaddons/point_of_sale/models/pos_session.py
- addons/point_of_sale/tests/test_frontend.py 4 additions, 2 deletionsaddons/point_of_sale/tests/test_frontend.py
- addons/point_of_sale/views/pos_config_view.xml 1 addition, 0 deletionsaddons/point_of_sale/views/pos_config_view.xml
Loading
Please register or sign in to comment