Files
odoo_source/addons/l10n_es_pos
roen-odoo 7dcfefb700 [FIX] l10n_es_pos,point_of_sale: ask for customer if split payment
Current behavior:
When in a spanish PoS, every order needs to be invoiced. If no customer
is specified, there is a default customer selected. But if the payment
method is split, the default customer should not be selected. And the
user should be asked for a customer.

Steps to reproduce:
- Install the l10n_es_pos module
- Go to PoS and create a new order
- Select a product and go to payment
- Select split payment (Customer Account)
- The default customer is selected, but you should be asked for a
  customer

Note:
To fix this we use the same behavior as in the base PoS, where the user
is asked for a customer if the payment method is split. If no user is
selected after being asked for a customer, the default customer is
selected. If a user is selected, the user is sent back to the payment
screen, as it's done in the base PoS.

opw-3736293

closes odoo/odoo#156570

Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
2024-03-07 15:12:17 +00:00
..
…