You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if no customer required fields defined on pos config it's not possible to validate a pos order with customer.
To Reproduce
Affected versions: 12.0
Steps to reproduce the behavior:
ensure no customer required fields defined on pos config
start pos session
pick a customer and start payment screen
try to validate payment
A popup with error message is displayed:
Expected behavior
payment should be validate without error
Additional context
technical explanation about this issue:
this.pos.config.res_partner_required_fields_names.split(",") return [""] one element which is not filtered because this.pos.config.res_partner_required_fields_names == "" in case there are no required fieds
The text was updated successfully, but these errors were encountered:
In case there is no required field we don't want to
lock user on payment screen.
As required fields list is stored in string variable
spliting an empty string return an array of one empty
string which would return one missing field which
is locking users
In case there is no required field we don't want to
lock user on payment screen.
As required fields list is stored in string variable
spliting an empty string return an array of one empty
string which would return one missing field which
is locking users
In case there is no required field we don't want to
lock user on payment screen.
As required fields list is stored in string variable
spliting an empty string return an array of one empty
string which would return one missing field which
is locking users
Module
pos_customer_required_fields
Describe the bug
if no customer required fields defined on pos config it's not possible to validate a pos order with customer.
To Reproduce
Affected versions: 12.0
Steps to reproduce the behavior:
A popup with error message is displayed:
Expected behavior
payment should be validate without error
Additional context
technical explanation about this issue:
this.pos.config.res_partner_required_fields_names.split(",")
return[""]
one element which is not filtered becausethis.pos.config.res_partner_required_fields_names == ""
in case there are no required fiedsThe text was updated successfully, but these errors were encountered: