irc.libera.chat #tryton log beginning Tue Aug 23 12:00:01 AM CEST 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:11 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:11 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:29 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 06:18 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:39 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:39 | |
-!- rpit(~rpit@p200300c88f2841003deab480132a3929.dip0.t-ipconnect.de) has joined #tryton | 06:44 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:10 | |
mrichez | hi, wondering how to eval a date for a state ? 'readonly': (Eval('from_date') > Date.today()) is not working (AssertionError: statement must be an integer, float, date or datetime) | 07:10 |
---|---|---|
cedk | mrichez: you must set a default date value for the Eval | 07:22 |
cedk | mrichez: and use a pyson Date for the other value like: | 07:22 |
cedk | Eval('from_date', Date()) > Date() | 07:23 |
mrichez | cedk: thanks :-) | 07:23 |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 08:02 | |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 09:41 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:08 | |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 12:50 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 20:13 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:40 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 21:40 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!