- Click to create a customer refund. + Click to create a customer refund.
A refund is a document that credits an invoice completely or
partially.
diff --git a/addons/account/report/account_analytic_entries_report.py b/addons/account/report/account_analytic_entries_report.py
index 1cd0f4c9026..b527193bd10 100644
--- a/addons/account/report/account_analytic_entries_report.py
+++ b/addons/account/report/account_analytic_entries_report.py
@@ -40,8 +40,8 @@ class analytic_entries_report(osv.osv):
'product_id': fields.many2one('product.product', 'Product', required=True),
'product_uom_id': fields.many2one('product.uom', 'Product Unit of Measure', required=True),
'amount': fields.float('Amount', readonly=True),
- 'unit_amount': fields.float('Quantity', readonly=True),
- 'nbr': fields.integer('#Entries', readonly=True),
+ 'unit_amount': fields.integer('Unit Amount', readonly=True),
+ 'nbr_entries': fields.integer('# Entries', readonly=True, oldname='nbr'),
}
def init(self, cr):
tools.drop_view_if_exists(cr, 'analytic_entries_report')
@@ -49,7 +49,7 @@ class analytic_entries_report(osv.osv):
create or replace view analytic_entries_report as (
select
min(a.id) as id,
- count(distinct a.id) as nbr,
+ count(distinct a.id) as nbr_entries,
a.date as date,
a.user_id as user_id,
a.name as name,
diff --git a/addons/account/report/account_analytic_entries_report_view.xml b/addons/account/report/account_analytic_entries_report_view.xml
index 2020b56d1fe..e0d963f5496 100644
--- a/addons/account/report/account_analytic_entries_report_view.xml
+++ b/addons/account/report/account_analytic_entries_report_view.xml
@@ -7,20 +7,18 @@
From this report, you can have an overview on all depreciation. The @@ -61,7 +62,7 @@
@@ -63,6 +62,6 @@