Tryton - Issues

 

Issue9340

Title Numeric widget considered as modified
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components sao
Assigned To ced Keywords backport, review
Reviews 307611002
View: 307611002

Created on 2020-05-16.09:04:59 by ced, last changed by roundup-bot.

Messages
New changeset a70a205d26b6 by Cédric Krier in branch 'default':
Compare numbers to detect modified
https://hg.tryton.org/tryton-env/rev/a70a205d26b6
New changeset c7e1751d1d74 by Cédric Krier in branch 'default':
Compare numbers to detect modified
https://hg.tryton.org/sao/rev/c7e1751d1d74
review307611002 updated at https://codereview.tryton.org/307611002/#ps311561002
msg58053 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-05-16.09:04:58
I found that we using the French language, the numeric field ending with trailing 0 are considered always as modified.
It seems that with those settings, the input val returns the string with the zero stripped while the internal value compared against has still trailing zero.
History
Date User Action Args
2020-05-28 18:16:45roundup-botsetmessages: + msg58348
2020-05-28 18:16:40roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg58347
2020-05-22 11:59:57pokolisetkeyword: + backport
2020-05-16 09:35:32reviewbotsetnosy: + reviewbot
messages: + msg58056
2020-05-16 09:07:50cedsetstatus: in-progress -> testing
reviews: 307611002
keyword: + review
2020-05-16 09:04:59cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)