Review: Needs Fixing
entry['name'] = model.name%{'year':context.get('date',time.strftime('%Y')), 
'month':context.get('date',time.strftime('%m')), 
'date':context.get('date',time.strftime('%d'))}

you have to fetch year from the context.get('date') also for month and date.
So use the date from the context and filter the year, month, and year+month 
accordingly.


-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-800767-bde/+merge/68379
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-800767-bde.

_______________________________________________
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