From d29642c94d55ed53e4d2f3400a86a55722715138 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 9 Apr 2010 09:14:08 +0200 Subject: [PATCH] fix bzr revid: fp@tinyerp.com-20100409071408-s98vgyvrbq446d5j --- .../board_manufacturing_view.xml | 4 +- addons/mrp/company.py | 2 +- addons/mrp/mrp.py | 10 +- addons/mrp/mrp_view.xml | 2 +- addons/mrp/process/procurement_process.xml | 314 +++++++++--------- addons/mrp/schedulers.py | 2 +- addons/mrp/stock.py | 10 +- addons/mrp/wizard/make_procurement_view.xml | 56 ++-- addons/mrp/wizard/mrp_procurement_view.xml | 40 +-- addons/mrp_jit/mrp_jit.xml | 2 +- addons/product/product.py | 4 +- addons/product/product_view.xml | 8 +- .../process/project_mrp_process.xml | 33 +- addons/project_mrp/project.py | 2 +- addons/sale/process/sale_process.xml | 16 +- addons/sale/sale.py | 4 +- addons/sale/sale_view.xml | 4 +- addons/stock/product.py | 2 +- addons/stock/stock_view.xml | 4 +- addons/stock_location/stock_view.xml | 2 +- 20 files changed, 248 insertions(+), 273 deletions(-) diff --git a/addons/board_manufacturing/board_manufacturing_view.xml b/addons/board_manufacturing/board_manufacturing_view.xml index df4a6805afb..17b4bc486bc 100644 --- a/addons/board_manufacturing/board_manufacturing_view.xml +++ b/addons/board_manufacturing/board_manufacturing_view.xml @@ -15,7 +15,7 @@ - + @@ -37,7 +37,7 @@ - + - Requisitions + Procurements ir.actions.act_window mrp.procurement form diff --git a/addons/mrp/process/procurement_process.xml b/addons/mrp/process/procurement_process.xml index 9162051086c..17d72a520f2 100755 --- a/addons/mrp/process/procurement_process.xml +++ b/addons/mrp/process/procurement_process.xml @@ -1,102 +1,102 @@ - + - + - - - - - + + + + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - + @@ -137,83 +137,83 @@ - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + @@ -240,7 +240,7 @@ - + @@ -249,5 +249,5 @@ - - \ No newline at end of file + + diff --git a/addons/mrp/schedulers.py b/addons/mrp/schedulers.py index 097f81f7529..f857f01dba7 100644 --- a/addons/mrp/schedulers.py +++ b/addons/mrp/schedulers.py @@ -115,7 +115,7 @@ class mrp_procurement(osv.osv): '''% (start_date, end_date, report_total, report_except, report_later) summary += '\n'.join(report) request.create(cr, uid, - {'name': "Requisition calculation report.", + {'name': "Procurement calculation report.", 'act_from': uid, 'act_to': uid, 'body': summary, diff --git a/addons/mrp/stock.py b/addons/mrp/stock.py index d395214b87a..0fc6a0ddc89 100644 --- a/addons/mrp/stock.py +++ b/addons/mrp/stock.py @@ -44,13 +44,13 @@ class stock_warehouse_orderpoint(osv.osv): 'product_uom': fields.many2one('product.uom', 'Product UOM', required=True ), 'product_min_qty': fields.float('Min Quantity', required=True, help="When the virtual stock goes belong the Min Quantity, Open ERP generates "\ - "a requisition to bring the virtual stock to the Max Quantity."), + "a procurement to bring the virtual stock to the Max Quantity."), 'product_max_qty': fields.float('Max Quantity', required=True, help="When the virtual stock goes belong the Min Quantity, Open ERP generates "\ - "a requisition to bring the virtual stock to the Max Quantity."), + "a procurement to bring the virtual stock to the Max Quantity."), 'qty_multiple': fields.integer('Qty Multiple', required=True, - help="The requisition quantity will by rounded up to this multiple."), - 'procurement_id': fields.many2one('mrp.procurement', 'Latest Requisition'), + help="The procurement quantity will by rounded up to this multiple."), + 'procurement_id': fields.many2one('mrp.procurement', 'Latest procurement'), 'company_id': fields.many2one('res.company','Company',required=True), } _defaults = { @@ -94,7 +94,7 @@ class StockMove(osv.osv): _inherit = 'stock.move' _columns = { 'production_id': fields.many2one('mrp.production', 'Production', select=True), - 'procurements': fields.one2many('mrp.procurement', 'move_id', 'Requisitions'), + 'procurements': fields.one2many('mrp.procurement', 'move_id', 'Procurements'), } def copy(self, cr, uid, id, default=None, context=None): default = default or {} diff --git a/addons/mrp/wizard/make_procurement_view.xml b/addons/mrp/wizard/make_procurement_view.xml index 08c4b2cabf5..c60f2818ab2 100644 --- a/addons/mrp/wizard/make_procurement_view.xml +++ b/addons/mrp/wizard/make_procurement_view.xml @@ -1,39 +1,39 @@ - + - - - Requisition Request + + + Procurement Request make.procurement form -
-