Skip to content
Snippets Groups Projects
Commit c3e77812 authored by Pierre Masereel's avatar Pierre Masereel
Browse files

[FIX] point_of_sale: create invoice when offline


When a pos order is created and should be invoiced, the argument
to_invoiced is sent when the order is finalized. But if you were offline
during this sale, when you are back online, the 'to_invoice' is lost,
because the value stored on the order is not sent to the server.

So we are now sending the value from the order.

closes odoo/odoo#39884

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
parent 36330b96
No related branches found
No related tags found
No related merge requests found
Loading
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