Tryton - Issues



Author guillemNaN
Recipients ced
Date 2015-07-16.12:50:03
> But in this case both side should be of date type or datetime type.

Yes, of course.
To be consistent with domains, it must to force that both are date or both are datetime.

Another improvement could be (but it requires to discuss the details) to suport compare date with datetime or almost, have the datetime to date casting.
An example, you have a period that defines start and end date (fields.Date) and another object that has a DateTime field that must to be inside the period.
Now, tryton doesn't suport a domain like that (start is a DateTime field and period_start/end are Date):
('start', '>=', Eval('period_start')),
('start', '<=', Eval('period_end')),
But as I said, I think this improvement is another issue.
Date User Action Args
2015-07-16 12:50:05guillemNaNsetmessageid: <>
2015-07-16 12:50:04guillemNaNsetrecipients: + ced
2015-07-16 12:50:04guillemNaNlinkissue4879 messages
2015-07-16 12:50:04guillemNaNcreate

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