[FIX] Back to old formatting, before revno 6565

bzr revid: tde@openerp.com-20120215093817-v6shtzwmc24ewbgc
This commit is contained in:
Thibault Delavallée 2012-02-15 10:38:17 +01:00
parent 12dba1122a
commit 220a94b317
1 changed files with 2 additions and 2 deletions

View File

@ -936,8 +936,8 @@ class account_fiscalyear(osv.osv):
period_obj.create(cr, uid, {
'name': ds.strftime('%m/%Y'),
'code': ds.strftime('%m/%Y'),
'date_start': fields.date.context_today(self, cr, uid, timestamp=ds, context=context),
'date_stop': fields.date.context_today(self, cr, uid timestamp=de, context=context),
'date_start': ds.strftime('%Y-%m-%d'),
'date_stop': de.strftime('%Y-%m-%d'),
'fiscalyear_id': fy.id,
})
ds = ds + relativedelta(months=interval)