Skip to content
Snippets Groups Projects
Commit 77267c26 authored by Jacky (trj)'s avatar Jacky (trj)
Browse files

[FIX] point_of_sale: create only one picking when validating order (if the option is activated)


closes odoo/odoo#70154

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
parent 58966deb
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,8 @@ class PosOrder(models.Model):
raise
except Exception as e:
_logger.error('Could not fully process the POS Order: %s', tools.ustr(e))
pos_order._create_order_picking()
pos_order._create_order_picking()
if pos_order.to_invoice and pos_order.state == 'paid':
pos_order.action_pos_order_invoice()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment