On 29 Apr 19:47, Romain Séon wrote: > Hello, > We were wondering if we where the only ones bothered with the new date > widget. > With the new version of tryton, you now need to explicitly set a separator. > In the previous version I could type 12052015 for a french date and I would > have a date correctly set as the 5th December of 2015, now I have to type > 12/05/2015 wish is longer.
Because you don't type it effectively: 12/5/15 is much shorter. (and you can use anything else than a number as separator) But if you don't put any separator, the dateutil parser consider the format YYMMDD or YYYYMMDD. I think the parser could probably be improved to take care of the dayfirst and yearfirst parameter for those cases. So if someone wants he can try to provide a patch to python-dateutil. > Our users, used to the old behavior which was faster to seize information > don't really see the benefits of the new widget but surely see the > drawbacks of it. There are way too much benefit in the new design like clean and maintainable code, no weird behaviour, support for more format, parsing of more format. > Maybe we could have another widget and we could choose the one you want by > default in the application. This will not happen in standard Tryton, there is no acceptable reason to have different widgets for such basic fields. The one should be good. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
