Fix reversed phone numbers in rtl languages

This commit is contained in:
Raphael Michel
2021-05-25 11:31:31 +02:00
parent a8f2cbdf76
commit 9f7be4e267
4 changed files with 22 additions and 11 deletions

View File

@@ -285,7 +285,7 @@ DEFAULT_VARIABLES = OrderedDict((
("telephone", {
"label": _("Phone number"),
"editor_sample": "+01 1234 567890",
"evaluate": lambda op, order, ev: phone_format(order.phone)
"evaluate": lambda op, order, ev: phone_format(order.phone, html=False)
}),
("email", {
"label": _("Email"),