From d64c4a3f17a334b02561e1a4b7f30a3e57d589b7 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 24 Feb 2014 16:19:44 +0100 Subject: [PATCH] [FIX] mrp: removed empty files and barcode controller value set to path in order to be able to receive URL bzr revid: sle@openerp.com-20140224151944-dqi63kjvyejp6xja --- addons/mrp/__openerp__.py | 1 - addons/mrp/report/__init__.py | 1 - addons/mrp/report/mrp_production_order.py | 24 ------------------- .../mrp/report/mrp_production_order_view.xml | 7 ------ addons/report/controllers/main.py | 2 +- 5 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 addons/mrp/report/mrp_production_order.py delete mode 100644 addons/mrp/report/mrp_production_order_view.xml diff --git a/addons/mrp/__openerp__.py b/addons/mrp/__openerp__.py index bc7dfc7ec29..ef68b27a489 100644 --- a/addons/mrp/__openerp__.py +++ b/addons/mrp/__openerp__.py @@ -69,7 +69,6 @@ Dashboard / Reports for MRP will include: 'process/service_product_process.xml', 'process/procurement_process.xml', 'report/mrp_report_view.xml', - 'report/mrp_production_order_view.xml', 'board_manufacturing_view.xml', 'res_config_view.xml', diff --git a/addons/mrp/report/__init__.py b/addons/mrp/report/__init__.py index a31833a940a..971c312343e 100644 --- a/addons/mrp/report/__init__.py +++ b/addons/mrp/report/__init__.py @@ -23,7 +23,6 @@ import price import workcenter_load import bom_structure import mrp_report -import mrp_production_order # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp/report/mrp_production_order.py b/addons/mrp/report/mrp_production_order.py deleted file mode 100644 index d0ff7ba7970..00000000000 --- a/addons/mrp/report/mrp_production_order.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp/report/mrp_production_order_view.xml b/addons/mrp/report/mrp_production_order_view.xml deleted file mode 100644 index 140170e4906..00000000000 --- a/addons/mrp/report/mrp_production_order_view.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/addons/report/controllers/main.py b/addons/report/controllers/main.py index ecdf5b09647..fd0961c8d99 100644 --- a/addons/report/controllers/main.py +++ b/addons/report/controllers/main.py @@ -463,7 +463,7 @@ class Report(http.Controller): merged.close() return content - @http.route(['/report/barcode', '/report/barcode//'], type='http', auth="user") + @http.route(['/report/barcode', '/report/barcode//'], type='http', auth="user") def barcode(self, type, value, width=300, height=50): """Contoller able to render barcode images thanks to reportlab. Samples: