diff options
| author | Joren Van Onder <jov@odoo.com> | 2015-12-17 12:15:16 +0100 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2015-12-17 15:13:36 +0100 |
| commit | 631d6b19d4c38910620e1d22a4d0bce936a17a7c (patch) | |
| tree | c3316fc6bb85e30063498130be48790a2399caca /addons/mail/data/mail_shortcode_data.xml | |
| parent | da9275abdee5a8f184ce39ae2e9fb736b49dd151 (diff) | |
[FIX] point_of_sale: make tipping adhere to correct number formatting
The number popup uses gui.numpad_input() which now only allows the
correct decimal separator (before this it was hardcoded as '.'). So we
now have to use the correct decimal separator in that particular popup.
Because of that we also have to correctly format the default tipping
amount AND also parse whatever value we get back from the popup through
web.parse_value().
Although you could do this formatting directly in the NumberPopupWidget
constructor, this would not be ideal because this widget is also used
for numbers that shouldn't adhere to the formatting (eg. PIN numbers).
Diffstat (limited to 'addons/mail/data/mail_shortcode_data.xml')
0 files changed, 0 insertions, 0 deletions
