Tryton - Issues

 

Message38762

Author pkunk
Recipients
Date 2018-03-02.15:56:22
Content
When you submit an eval on two date, Equal.eval_ compare two Moment object.
But if you do 
m = Moment('2017-01-01')
m2 = Moment('2017-01-01')
m == m2 // return false !!

So for example, if you ant to hide a date field if it's equal to another datefield it does not work in sao.

Patch incomming.
Files
File name Uploaded
MomentCompare.png pkunk, 2018-03-02.15:56:22
History
Date User Action Args
2018-03-02 15:56:23pkunksetmessageid: <1520002583.31.0.899863226767.issue7187@tryton.org>
2018-03-02 15:56:23pkunklinkissue7187 messages
2018-03-02 15:56:22pkunkcreate

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