From 2153f46a676134595f9b3906ce96d5d4aaea5b68 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 30 Jan 2017 01:19:57 +0100 Subject: [PATCH] Fix bug #252 fix same issue in report_aged_partner_balance_qweb_move_line --- account_financial_report_qweb/report/aged_partner_balance.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/account_financial_report_qweb/report/aged_partner_balance.py b/account_financial_report_qweb/report/aged_partner_balance.py index 0c19eb18..e174bb54 100644 --- a/account_financial_report_qweb/report/aged_partner_balance.py +++ b/account_financial_report_qweb/report/aged_partner_balance.py @@ -439,6 +439,8 @@ INSERT INTO report_aged_partner_balance_qweb_move_line ( report_partner_id, + create_uid, + create_date, date, date_due, entry, @@ -456,6 +458,8 @@ INSERT INTO ) SELECT rp.id AS report_partner_id, + %s AS create_uid, + NOW() AS create_date, rlo.date, rlo.date_due, 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.env.uid, self.open_items_id.id, self.id, )