-
- Downloads
[FIX] point_of_sale: create account move for shiplater pos order
Current behavior:
When using FIFO/AVCO and automated valuation, the accounting entries for
PoS orders where not correct if the ship later function was used and the
order was not invoiced. The COGS entries were created with an amount of
0. But when the shipping was done nothing was done to correct the
entries.
Steps to reproduce:
- Make sure you are using anglo saxon accounting
- Create a product with automated valuation and FIFO/AVCO
- Create a PoS order with the product
- Validate the order using the ship later option but do not invoice it
- The accounting entries for the expense are created with an amount of 0
(wich makes sense because the product is not shipped yet)
- Validate the picking
- The accounting entries is still the same.
opw-3027579
closes odoo/odoo#112003
Signed-off-by:
Trinh Jacky (trj) <trj@odoo.com>
Showing
- addons/point_of_sale/models/pos_session.py 2 additions, 2 deletionsaddons/point_of_sale/models/pos_session.py
- addons/point_of_sale/models/stock_picking.py 28 additions, 0 deletionsaddons/point_of_sale/models/stock_picking.py
- addons/point_of_sale/tests/test_anglo_saxon.py 70 additions, 0 deletionsaddons/point_of_sale/tests/test_anglo_saxon.py
Loading