A Dijous, 6 de setembre de 2012 17:24:08, Raimon Esteve va escriure: > 2012/9/6 Cédric Krier <[email protected]> > > > Indeed, I ask you the opposite question. > > I need to add in datetime field now datatime. My great surprise found today > method. But I don't understand why only are available today and not now > method.
If I understood Cédric's explanation correctly, today() exsists so that you can work on tryton "as if" you were working on a day different than today. The idea would not be to change write and create timestamps, but it would be used for setting default date in some new documents or reporting information as if we were some days ago.. > > Don't worry, we can get now time without call ir.date. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
