diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py
index 548e6eb50a6..36fa5a0d132 100644
--- a/addons/account/report/account_invoice_report.py
+++ b/addons/account/report/account_invoice_report.py
@@ -30,6 +30,7 @@ class account_invoice_report(osv.osv):
_columns = {
'date': fields.date('Date', readonly=True),
'year': fields.char('Year', size=4, readonly=True),
+ 'day': fields.char('Day', size=128, readonly=True),
'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
@@ -71,6 +72,7 @@ class account_invoice_report(osv.osv):
s.date_invoice as date,
to_char(s.date_invoice, 'YYYY') as year,
to_char(s.date_invoice, 'MM') as month,
+ to_char(s.date_invoice, 'YYYY-MM-DD') as day,
l.product_id as product_id,
sum(l.quantity * u.factor) as product_qty,
s.partner_id as partner_id,
diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml
index cee7cc0e3f7..d82c7e407ee 100644
--- a/addons/account/report/account_invoice_report_view.xml
+++ b/addons/account/report/account_invoice_report_view.xml
@@ -7,15 +7,16 @@
tree
-
-
+
+
+
-
-
-
+
+
+
@@ -49,67 +50,85 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ string="My Invoices"
+ help = "My Invoices"
+ domain="[('user_id','=',uid)]" />
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
@@ -122,7 +141,7 @@
account.invoice.report
form
tree,graph
- {'search_default_User':1,'search_default_user_id':uid}
+ {'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]}