On Monday, October 5, 2015 at 7:05:04 PM UTC-5, Cédric Krier wrote: > > On 2015-10-05 16:31, Fabyc wrote: > > Hi. > > > > I installed the modules: account_credit_limit and sale_credit_limit. > > > > Doing tests, I set $500.00 in the credit limit amount of party. > > > > When click in button "Process" of sale, it is controlled the credit > limit, > > in the message it is not showing the correct amount of the limit: > > > > "Customer 1" has reached the credit limit amount (5.0E+2) > > Indeed it is the correct amount ecause 5.0E+2 == 500.0 > > > Is there something I need to setup for getting the right credit limit > > amount > > in the message? > > Indeed it is because we are just using the standard Python string > formatting for the amount in the error message instead of using the > Lang.currency method which will format the number with the right locale > formatting. > > You can fill an issue for that. >
Done. Issue: https://bugs.tryton.org/issue5018 I didn't know if it is a bug of feature, so I set the priority as "feature". Thank you very much. > -- > Cédric Krier - B2CK SPRL > Email/Jabber: cedric...@b2ck.com <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >