odoo/addons/website/views
Jeremy Kersten 6b87284f3f [FIX] website_sale: fix amount format
This commit fix wrong grouping when we format price via price_to_str.
where '[3,0]' was interpreted as string and not array in intersperse.

Thousand separator was duplicated ",,,320.00" e.g.

This commit fix also product page where amount for variant was formatted
js side before that RPC translation (website.ready() defered) was resolved.

'/website/translations' is only called when user have rights to edit page.
So a standard user didn't call it and l10n is not initialized.

After an update, now we format the amount with the l10n value.
To stay retro compatible, if l10n is not initialized (value = [])
we use [] for grouping as 'fallback value'.

To fix decimal precision you need to update the template product_price.
To fix the grouping, you need to update the website.layout
To fix the decimal separator, (and previous fix), you just need to pull the JS

This commit is related to #1103, #11553, #14772, #14874, ...
And fix the previous fix odoo/odoo@1f10ef8055

It should also fix (by side-effect) the translation JS for user without editor
right.

Already fixed in V9 - don't forward this commit...
2017-01-10 22:50:19 +01:00
..
ir_actions.xml [IMP] Add url widget in server actions form view 2014-02-18 09:43:15 +01:00
res_config.xml [FIX] website: can not change website name 2014-12-01 16:50:51 +01:00
snippets.xml [FIX] website: customize logo 2015-04-24 13:30:47 +02:00
themes.xml [FIX] Use local copies of png instead of fetching them from websites 2015-01-23 11:23:04 +01:00
website_backend_navbar.xml [FIX] website: 'Display Editor Bar on Website' group stopped working at commit a2ef044c47 2014-09-26 16:50:34 +02:00
website_templates.xml [FIX] website_sale: fix amount format 2017-01-10 22:50:19 +01:00
website_views.xml [IMP] website: update sample social media accounts 2014-07-30 13:24:39 +02:00