From c09095cbc9c22a5ebedbedaca957a6d9ff72809f Mon Sep 17 00:00:00 2001 From: Somesh Khare Date: Fri, 12 Dec 2014 15:30:19 +0530 Subject: [PATCH] [FiX] sale(_stock): missing state on report The state 'Quotation Sent' was not visible on the sales analysis report (e.g. group by Status). Add the missing state to the report to correctly disaply it. opw 619748 --- addons/sale/report/sale_report.py | 1 + addons/sale_stock/report/sale_report.py | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py index c914aba7bf6..dd7aa19bbd3 100644 --- a/addons/sale/report/sale_report.py +++ b/addons/sale/report/sale_report.py @@ -49,6 +49,7 @@ class sale_report(osv.osv): 'nbr': fields.integer('# of Lines', readonly=True), 'state': fields.selection([ ('draft', 'Quotation'), + ('sent', 'Quotation Sent'), ('waiting_date', 'Waiting Schedule'), ('manual', 'Manual In Progress'), ('progress', 'In Progress'), diff --git a/addons/sale_stock/report/sale_report.py b/addons/sale_stock/report/sale_report.py index b7936ffe7b4..9f5df0fc65c 100644 --- a/addons/sale_stock/report/sale_report.py +++ b/addons/sale_stock/report/sale_report.py @@ -29,6 +29,7 @@ class sale_report(osv.osv): 'shipped_qty_1': fields.integer('Shipped', readonly=True), 'state': fields.selection([ ('draft', 'Quotation'), + ('sent', 'Quotation Sent'), ('waiting_date', 'Waiting Schedule'), ('manual', 'Manual In Progress'), ('progress', 'In Progress'),