diff --git a/addons/account/report/report_pl.py b/addons/account/report/report_pl.py
index 334faedf1d5..024fd1c83e3 100644
--- a/addons/account/report/report_pl.py
+++ b/addons/account/report/report_pl.py
@@ -101,10 +101,10 @@ class report_pl_account_horizontal(rml_parse.rml_parse, common_report_header):
ctx['fiscalyear'] = data['form']['fiscalyear_id']
if data['form']['filter']=='filter_period' :
- ctx['periods'] = data['periods']
+ ctx['periods'] = data['form']['periods']
elif data['form']['filter']== 'filter_date':
- ctx['date_from'] = data['date_from']
- ctx['date_to'] = data['date_to']
+ ctx['date_from'] = data['form']['date_from']
+ ctx['date_to'] = data['form']['date_to']
cal_list={}
account_id =data['form']['chart_account_id']
diff --git a/addons/account/report/report_pl_account.rml b/addons/account/report/report_pl_account.rml
index 1f1924813a3..b77d55d9fbe 100644
--- a/addons/account/report/report_pl_account.rml
+++ b/addons/account/report/report_pl_account.rml
@@ -39,6 +39,10 @@
+
+
+
+
diff --git a/addons/account/report/report_pl_account_horizontal.rml b/addons/account/report/report_pl_account_horizontal.rml
index a7876f23ad9..532eed9c484 100644
--- a/addons/account/report/report_pl_account_horizontal.rml
+++ b/addons/account/report/report_pl_account_horizontal.rml
@@ -80,6 +80,10 @@
+
+
+
+
@@ -202,6 +206,9 @@
+
+
+
[[ get_data(data) or removeParentNode('para')]]