Browse Source

Fix bug #252 fix same issue in report_aged_partner_balance_qweb_move_line

pull/265/head
Alexis de Lattre 8 years ago
parent
commit
7a470ec469
  1. 5
      account_financial_report_qweb/report/aged_partner_balance.py

5
account_financial_report_qweb/report/aged_partner_balance.py

@ -439,6 +439,8 @@ INSERT INTO
report_aged_partner_balance_qweb_move_line report_aged_partner_balance_qweb_move_line
( (
report_partner_id, report_partner_id,
create_uid,
create_date,
date, date,
date_due, date_due,
entry, entry,
@ -456,6 +458,8 @@ INSERT INTO
) )
SELECT SELECT
rp.id AS report_partner_id, rp.id AS report_partner_id,
%s AS create_uid,
NOW() AS create_date,
rlo.date, rlo.date,
rlo.date_due, rlo.date_due,
rlo.entry, rlo.entry,
@ -526,6 +530,7 @@ AND ra.report_id = %s
""" """
query_inject_move_line_params = (self.date_at,) * 6 query_inject_move_line_params = (self.date_at,) * 6
query_inject_move_line_params += ( query_inject_move_line_params += (
self.env.uid,
self.open_items_id.id, self.open_items_id.id,
self.id, self.id,
) )

Loading…
Cancel
Save