[FIX] Account_followup:'Follow-up Sending Date' now prints the date from wizard
lp bug: https://launchpad.net/bugs/586706 fixed bzr revid: mtr@mtr-20101116060720-ttwsryr2nsgcykk8
This commit is contained in:
parent
f737366327
commit
2081b75988
|
@ -117,7 +117,7 @@
|
|||
<font color="white"> </font>
|
||||
</para>
|
||||
<para style="terp_default_9">Document : Customer account statement</para>
|
||||
<para style="terp_default_9">Date : [[ formatLang(time.strftime('%Y-%m-%d'),date = True) ]]</para>
|
||||
<para style="terp_default_9">Date : [[ formatLang(data['form']['date'],date=True) ]]</para>
|
||||
<para style="terp_default_9">Customer Ref : [[ o.ref or '' ]]</para>
|
||||
<para style="terp_default_8">
|
||||
<font color="white"> </font>
|
||||
|
|
|
@ -319,13 +319,12 @@ class account_followup_print_all(osv.osv_memory):
|
|||
"WHERE id=%s",
|
||||
(to_update[id]['level'],
|
||||
date, int(id),))
|
||||
|
||||
data.update({'date': context['date']})
|
||||
datas = {
|
||||
'ids': [],
|
||||
'model': 'account_followup.followup',
|
||||
'form': data
|
||||
}
|
||||
|
||||
return {
|
||||
'type': 'ir.actions.report.xml',
|
||||
'report_name': 'account_followup.followup.print',
|
||||
|
|
Loading…
Reference in New Issue