Clients should respect locale parameters defined in OpenERP locales (thousands separator, etc.)

Bug #697625 reported by Olivier Dony (Odoo)
88
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Wishlist
OpenERP sa GTK client R&D
Odoo Web Client
Won't Fix
Wishlist
OpenERP R&D Web Team

Bug Description

Currently both web and GTK client use the locale parameters (thousands separator, decimal separator, time format, ...) defined in the system, instead of the ones defined in the database (in res.lang records).

This should be improved in the future, to allow finer control on locale parameters, and make locale formatting consistent with what is done in OpenERP reports. The most important setting is probably the date format, but this should be ok when bug 674079 is solved.

Related branches

Changed in openobject-client-web:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in openobject-client:
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

+1 I'm totally agree.

Revision history for this message
Davide Corio (enlightx-deactivatedaccount) wrote :

+100

it's really urgent, we cannot use correct separators in forms/views and people get really confused

Changed in openobject-client-web:
milestone: none → 6.1
Changed in openobject-client:
status: Confirmed → In Progress
milestone: none → 6.0.2
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello All,

Thanks for the report !

It has been improved in trunk gtk client with revision-info as 1808 <email address hidden>

Thanks

Changed in openobject-client:
status: In Progress → Fix Released
Changed in openobject-client:
milestone: 6.0.2 → 6.1
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

This is a bug its affects both branches stable and trunk, and we need to fix it for 6.0.x

Regards,

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Please can refer the branch where fix this problem ? i want to see the code to port it to 6.0.
This bug is clear in 6.0 series you can change the separators and is not working.

Regards,

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

it's at 1808 <email address hidden> on trunk client

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Hello i check the http://bazaar.launchpad.net/~openerp/openobject-client/trunk/revision/1808 where decimal separator problem is fixed now i create a branch with this fix
https://code.edge.launchpad.net/~ovnicraft/openobject-client/client-decimal-separator-fixed
Please test my branch i want to propose to merge into stable.

Regards,

Revision history for this message
anoop (anoopputhukkudy) wrote :

I try this client, but still it doesn't shows the thousand separator .Is there any configuration needed

Revision history for this message
anoop (anoopputhukkudy) wrote :

I try this client, but still it doesn't shows the thousand separator .Is there any configuration needed
I use OpenERP 6.0.2 server .

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

did you set the value of "separator Format"i.e field 'grouping' in language settings ?

Revision history for this message
anoop (anoopputhukkudy) wrote : Re: [Bug 697625] Re: Clients should respect locale parameters defined in OpenERP locales (thousands separator, etc.)

Hi
I used the language "en_US" and it normally marked the thousand separator.

On Wed, Jun 29, 2011 at 10:45 AM, Naresh(OpenERP) <email address hidden> wrote:

> did you set the value of "separator Format"i.e field 'grouping' in
> language settings ?
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Web Client.
> https://bugs.launchpad.net/bugs/697625
>
> Title:
> Clients should respect locale parameters defined in OpenERP locales
> (thousands separator, etc.)
>
> Status in OpenERP GTK Client:
> Fix Released
> Status in OpenERP Web Client:
> Confirmed
>
> Bug description:
> Currently both web and GTK client use the locale parameters (thousands
> separator, decimal separator, time format, ...) defined in the system,
> instead of the ones defined in the database (in res.lang records).
>
> This should be improved in the future, to allow finer control on
> locale parameters, and make locale formatting consistent with what is
> done in OpenERP reports. The most important setting is probably the
> date format, but this should be ok when bug 674079 is solved.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-client/+bug/697625/+subscriptions
>

--
regards,
Anoop

Revision history for this message
Ferdinand (office-chricar) wrote :

will this language setting become standard?

Revision history for this message
anoop (anoopputhukkudy) wrote :

Yes.

Revision history for this message
anoop (anoopputhukkudy) wrote :

Is there any solution.
In my language "en_US" Decimal Separator mark as dot(.) and Thousands Separator mark comma(,)

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

yes...this is for the case with en_US locale its the standard one...

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

@Anoop you need to set this configuration (i what you are trying):

Separator Format field: [3] * check the doc for this
Decimal separator field: .
Thousands Separator: ,

restart the client and you get the configuration.

Regards,

Revision history for this message
anoop (anoopputhukkudy) wrote :

Thanks Cristian .. its work finee..

Revision history for this message
anoop (anoopputhukkudy) wrote :

Sorry again ,
thousand separator shows only first line and it shows entire amount .
I think something wrong in my configuration or still have some issues in gtk client .
Please see the attached image

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

as you have set Separator Format field: [3] it will put a ',' counting from the right most digit till 3rd digit.
if you have Separator Format field: [3,2,-1] then you will have 21474,83,647.00

so nothing wrong with the configuration...it depends on what settings you need...

Thanks

Revision history for this message
Juanjo A (juanjoa) wrote :

Hello,
how to use the num pad (numeric keypad) key '.' as decimal separator with spanish configuration?
(web client)

My configuration is:
 - Decimal separator field: ,
 - Thousands Separator: .

Example: 5.300,99

Whe I press the numeric dot, openerp web client dont use it correctly:
 5.2 --> 52,00 and not 5,2

Can I change this behavior?

Thanks
Juanjo A

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Juanjo A,

Please see the status of the bug for web client. It's confirmed which means the work has to be done on it.

its fixed in GTK client.

Thanks

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Juanjo A its just fixed and released in unstable version.

Regards,

Revision history for this message
OpenERP Majordomo (openerp-majordomo) wrote : OpenERP Majordomo Message

**automated message**
Thanks a lot for reporting this bug and contributing to OpenERP. Unfortunately the OpenERP Web Client project is not going to be developed further after the 6.0 series. As of 6.1 a newer and better web frontend known as the OpenERP Web project[1] will be available.
Our R&D developers normally work in Launchpad to fix bugs for the next release, but there will be no next release for the current OpenERP Web Client. As our resources are limited, all further R&D efforts from the Web team are dedicated to finish the new 6.1 OpenERP Web project[1].
This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.

Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service, and this is the recommended way to have them corrected directly in the 6.0 LTS stable branch.
You can find more details about all of this in the FAQ of our Bug Management Policy documentation[2].

If you are interested, you should soon be able to beta-test the new OpenERP Web 6.1 (this will be announced on OpenERP Community channels).

Thank you for your contributions and for your understanding!

[1] https://launchpad.net/openerp-web
[2] http://bit.ly/openerp-bugs-faq (FAQ #4)

Changed in openobject-client-web:
status: Confirmed → Won't Fix
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Christian,

I have checked the issue and proposed a fix for backporting it on stable v6.

It has been fixed by revision 1883 <email address hidden> in the branch lp:~openerp-dev/openobject-client/6.0-opw-16966-ach

It will be merged soon in stable.

@Naresh(OpenERP) Thanks for providing the fix.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.