summaryrefslogtreecommitdiff
path: root/odoo/tools/date_utils.py
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2020-07-28 14:22:24 +0000
committerAntoine Prieels <anp@odoo.com>2020-07-29 13:59:23 +0000
commitbd0b86d3f87ab0e1c65c15b099fcef76a37e207a (patch)
tree5dc385685350a96b3dad47213fd8ef3f992e709a /odoo/tools/date_utils.py
parente47cae5c07d3fe245bd43930ccec48f737b1b6f1 (diff)
[IMP] point_of_sale: Split negative and positive anglo saxon lines
A single anglo saxon line was created in the pos.session journal entries, even if some products were returned. We now distinguish positive from negative lines. E.g. Selling 10 Product1 (cost=10) and returning 5 Product1 used to create the following line: ``` Stock Interim Account (Delivered) 0 50 ``` and now creates the following lines: ``` Stock Interim Account (Delivered) 0 100 Stock Interim Account (Delivered) 50 0 ``` Task ID: 2126521 closes odoo/odoo#55086 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'odoo/tools/date_utils.py')
0 files changed, 0 insertions, 0 deletions