[MERGE] Account_followup: sending date not propogated
bzr revid: mra@mra-laptop-20101116065244-kzoqma10wqn0bkcz
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user