Regression: Takepos issue with cash method and dictionnaries #18635
Labels
Bug
This is a bug (something does not work as expected)
Issue Stale (automatic label)
This issue is stale because it has been open 1 year with no activity. Remove this label to keep open
Bug
There is a mess in payment methods. First, in the dictionaries, changing a payment method's label has no visible effect (for any payment method):
Also, it has no visible effect on TakePos UI. Whatever is set in the dictionaries, the button always shows "Espèce" as the label.
Worst, for "Espèces" if the label value is not set to "cash", takepos will not accept the payment, complaining about bank account not set for that method. (also seen in the forum)
This was notices after upgrading from version 12 to 13, and it is still an issue in 14.0.1
I looked at the code, and it looks messy to me with many things like:
Environment
Expected and actual behavior
Well, a label is a label, and it has a "code" to abstract its usage. The set labels should be used for payment method's labels in the UI, and changing it shouldn't affect core functionalities.
The text was updated successfully, but these errors were encountered: