[IMP] wizard default values work
bzr revid: jco@openerp.com-20121026112331-k5aphdh5tfani5s1
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user