Skip to content
Snippets Groups Projects
Commit 1e82e273 authored by roen-odoo's avatar roen-odoo
Browse files

[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: default avatarTrinh Jacky (trj) <trj@odoo.com>
parent 881bf061
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment