summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorLoan (lse) <lse@odoo.com>2020-04-06 13:12:38 +0000
committerPierre Masereel <pim@odoo.com>2020-04-07 09:43:25 +0000
commitb2e6784c699cace9904c2d5419f57e0ee0dfeb01 (patch)
treef03eb3d75b05105846b9cb338e8ef23a00193cf6 /odoo/fields.py
parent1dc3c0d1a810a5b35e98d11ae6de1fc5042146c3 (diff)
[FIX] point_of_sale: wrong stock valuation entry
Before this commit: When a PoS session is closed in anglosaxon accounting with real time stock valuation, the stock moves linked to PoS orders are used to create the stock valuation entry. When an order is composed of only products of type 'service', there are no picking linked to the order, and so the entry is created with all stock moves having no picking_id. After this commit: To avoid this problem, we are checking that the PoS order has a picking before looking for stock moves. OPW-2206625 closes odoo/odoo#49117 X-original-commit: 0386e1f099bf42a59a79febfa06906dd76bd62e2 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'odoo/fields.py')
0 files changed, 0 insertions, 0 deletions