[IMP] wizard default values work

bzr revid: jco@openerp.com-20121026112331-k5aphdh5tfani5s1
This commit is contained in:
Josse Colpaert
2012-10-26 13:23:31 +02:00
parent e02165d62f
commit 4cedd4a505
@@ -118,10 +118,7 @@ class account_followup_print(osv.osv_memory):
# 'target': 'new',
# }
_defaults = {
'date': lambda *a: time.strftime('%Y-%m-%d'),
'followup_id': _get_followup,
}
@@ -173,12 +170,14 @@ class account_followup_print(osv.osv_memory):
return self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.follow_up_msg
_defaults = {
'email_body': _get_msg,
'date': lambda *a: time.strftime('%Y-%m-%d'),
'followup_id': _get_followup,
'email_body': _get_msg,
'email_subject': _('Invoices Reminder'),
'partner_lang': True,
'partner_ids': _get_partners,
'summary': _get_summary,
}
}
#account_followup_print()