Skip to content
Snippets Groups Projects
Commit 6f20626b authored by Pedram (PEBR)'s avatar Pedram (PEBR)
Browse files

[FIX] point_of_sale: ensure customer presence for `split_transactions`


This commit addresses an issue where `split_transactions` payments were
allowed to be added without adding a customer during the creation of
return orders. The problem led to errors during session closure.

The solution is that in the backend when creating return orders and
adding payments, enforce the presence of a customer for
`split_transactions` by showing an error.

opw-3468160

closes odoo/odoo#132004

Signed-off-by: default avatarDavid Monnom (moda) <moda@odoo.com>
parent 249f8c83
No related branches found
No related tags found
Loading
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