Review: Needs Fixing
nice work!

some points are to be fixed

1) instead of searching for "Yesterday's contract" as below:
+ ids = self.search(cr, uid, [('name','=','My Yesterday Contract')], 
context=context)

we need to pass date of yesterday in the context of read

2)
149     + from datetime import datetime, timedelta
150     + date_from = datetime.today()+timedelta(days=1)
151     + from_date = date_from.isoformat().split('.')[0].replace('T',' ')

use date_from.strftime

thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-temporal-db-intermediate-branch-rpa-ksa-yml-ksa/+merge/65932
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-temporal-db-intermediate-branch-rpa-ksa.

_______________________________________________
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