[FIX] account: recurring model legend and %(date)s
bzr revid: qdp-launchpad@tinyerp.com-20100921164157-w2yvnv6f0fezsg0o
This commit is contained in:
parent
97542fb978
commit
d9ab88c891
|
@ -2021,7 +2021,7 @@ class account_model(osv.osv):
|
|||
period_id = period_id[0]
|
||||
|
||||
for model in self.browse(cr, uid, ids, context):
|
||||
entry['name'] = model.name%{'year':time.strftime('%Y'), 'month':time.strftime('%m'), 'date':time.strftime('%d')}
|
||||
entry['name'] = model.name%{'year':time.strftime('%Y'), 'month':time.strftime('%m'), 'date':time.strftime('%Y-%m')}
|
||||
move_id = account_move_obj.create(cr, uid, {
|
||||
'ref': entry['name'],
|
||||
'period_id': period_id,
|
||||
|
|
Loading…
Reference in New Issue