This will not work in this case:
Suppose you have an automated action that defines a deadline with interval = 0 
minute.
Go on an issue, and set limited date (date deadline) to today. 
Last run is for example today at 14:00:00
The comparison will compare today at 14:00:00 and today at 00:00:00 (code of 
get_datetime) which will never verify this case:  if (not last_run or (last_run 
<= action_date < now)) (line 267) in _check method.
So the automated action will not be executed.

Please modify the code.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-57622-rgo/+merge/87727
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-57622-rgo.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to