Community mailing list archives

community@mail.odoo.com

Re: Monetary formatted values in all financial amounts

by
OpenERP Master
- 08/20/2015 00:55:21
One final note, Doing this change causes a validator to fail, sprintf. You will have to detect and convert the value using Number() to solve.

On Wed, Aug 19, 2015 at 11:20 PM, OpenERP Master <openerpmaster@gmail.com> wrote:
Comma separator can be done easily and supported.

For currency symbol, this support is missing, however I was able to achieve the desired effect by adding an invalid widget in the xml. In the javascript formats.js, I just checked if that widget was applied and concatenate a string symbol with the return value.

On Wed, Aug 19, 2015 at 8:31 PM, OpenERP Master <openerpmaster@gmail.com> wrote:
I have been tasked with making every field that contains a monetary value to use the currency symbol with comma separator. I noticed that Odoo has no support for this in a tree view that I could tell.

What is a simple logical request seems like an impossible task with a lot of convoluted manipulation. Has anyone done this? I have seen a couple rumblings about some modules but none of them achieve the desired effect.



#1