From ae5bbd49db33cf0853c444aa144242e362a0c512 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 27 Jun 2007 13:59:46 +0000 Subject: [PATCH] Renamed picking by packing in labels Better views bzr revid: fp@tinyerp.com-e26a6dfac35aa2ab91aa1c16e4658d5846b648a0 --- addons/delivery/__terp__.py | 2 +- addons/delivery/delivery_view.xml | 4 +- addons/esale_ez/esale.py | 2 +- addons/esale_osc/esale_osc_view.xml | 2 +- addons/mrp/mrp.py | 4 +- addons/mrp/wizard/wizard_procurement.py | 2 +- addons/mrp/wizard/wizard_schedulers_all.py | 2 +- addons/product/product.py | 2 +- addons/purchase/stock_view.xml | 4 +- .../purchase_journal_view.xml | 4 +- addons/sale/sale.py | 18 +++---- addons/sale/sale_view.xml | 2 +- addons/sale_crm/wizard/makesale.py | 2 +- addons/sale_journal/__terp__.py | 4 +- addons/sale_journal/picking_journal_view.xml | 31 +++++------ .../picking_journal_view_report.xml | 32 ++++++------ addons/sale_journal/sale_journal.py | 2 +- addons/sale_journal/sale_journal_inherit.py | 2 +- .../sale_journal_picking_report.py | 4 +- addons/sale_journal/sale_journal_view.xml | 18 +++---- addons/stock/report/picking.xsl | 4 +- addons/stock/stock.py | 8 +-- addons/stock/stock_report.xml | 2 +- addons/stock/stock_sequence.xml | 14 ++--- addons/stock/stock_view.xml | 52 +++++++++---------- addons/stock/stock_wizard.xml | 6 +-- addons/stock/wizard/wizard_partial_picking.py | 4 +- addons/stock/wizard/wizard_return.py | 2 +- 28 files changed, 118 insertions(+), 117 deletions(-) diff --git a/addons/delivery/__terp__.py b/addons/delivery/__terp__.py index d61f08f5a0c..0436dcb5d3f 100644 --- a/addons/delivery/__terp__.py +++ b/addons/delivery/__terp__.py @@ -3,7 +3,7 @@ "version" : "1.0", "author" : "Tiny", "category" : "Generic Modules/Sales & Purchases", - "description": "Allows to add delivery methods in sales order and pickings. You can define your own carrier and delivery grids for prices. When creating invoices from pickings, Tiny ERP is able to add and compute the shipping line.", + "description": "Allows to add delivery methods in sales order and packings. You can define your own carrier and delivery grids for prices. When creating invoices from pickings, Tiny ERP is able to add and compute the shipping line.", "depends" : ["sale","purchase", "stock",], "init_xml" : ["delivery_data.xml"], "demo_xml" : ["delivery_demo.xml"], diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml index 27c307940e2..0e78b34adfd 100644 --- a/addons/delivery/delivery_view.xml +++ b/addons/delivery/delivery_view.xml @@ -154,7 +154,7 @@ - Pickings to invoice + Packings to invoice stock.picking ir.actions.act_window form @@ -162,7 +162,7 @@ [('invoice_state','=','2binvoiced'),('state','=','done')] diff --git a/addons/esale_ez/esale.py b/addons/esale_ez/esale.py index 454da302e80..893862a4185 100644 --- a/addons/esale_ez/esale.py +++ b/addons/esale_ez/esale.py @@ -128,7 +128,7 @@ class esale_user(osv.osv): 'picking_policy': fields.selection([ ('direct','Direct Delivery'), ('one','All at once') - ], 'Picking Policy', required=True ), + ], 'Packing Policy', required=True ), 'order_policy': fields.selection([ ('prepaid','Pay before delivery'), ('manual','Shipping & Manual Invoice'), diff --git a/addons/esale_osc/esale_osc_view.xml b/addons/esale_osc/esale_osc_view.xml index 8076e0df865..d74aae0aa55 100644 --- a/addons/esale_osc/esale_osc_view.xml +++ b/addons/esale_osc/esale_osc_view.xml @@ -179,7 +179,7 @@ - + diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 3eb26b41d3e..ba4718a6e88 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -324,7 +324,7 @@ class mrp_production(osv.osv): 'bom_id': fields.many2one('mrp.bom', 'Bill of Material', domain=[('bom_id','=',False)]), - 'picking_id': fields.many2one('stock.picking', 'Picking list'), + 'picking_id': fields.many2one('stock.picking', 'Packing list'), 'move_prod_id': fields.many2one('stock.move', 'Move Product'), 'move_lines': fields.many2many('stock.move', 'mrp_production_move_ids', 'production_id', 'move_id', 'Products Consummed'), @@ -332,7 +332,7 @@ class mrp_production(osv.osv): 'product_lines': fields.one2many('mrp.production.product.line', 'production_id', 'Material Planned'), 'workcenter_lines': fields.one2many('mrp.production.workcenter.line', 'production_id', 'Workcenters Utilisation'), - 'state': fields.selection([('draft','Draft'),('picking_except', 'Picking Exception'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','In Production'),('cancel','Canceled'),('done','Done')],'State', readonly=True) + 'state': fields.selection([('draft','Draft'),('picking_except', 'Packing Exception'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','In Production'),('cancel','Canceled'),('done','Done')],'State', readonly=True) } _defaults = { 'priority': lambda *a: '1', diff --git a/addons/mrp/wizard/wizard_procurement.py b/addons/mrp/wizard/wizard_procurement.py index b5cfbf534c8..0398090880b 100644 --- a/addons/mrp/wizard/wizard_procurement.py +++ b/addons/mrp/wizard/wizard_procurement.py @@ -48,7 +48,7 @@ parameter_fields = { 'po_cycle': {'string':'PO Cycle', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'po_lead': {'string':'PO Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'security_lead': {'string':'Security Days', 'type':'float', 'required':True, 'default': lambda *a: 5.0}, - 'picking_lead': {'string':'Picking Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, + 'picking_lead': {'string':'Packing Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'user_id': {'string':'Send Result To', 'type':'many2one', 'relation':'res.users', 'default': lambda uid,data,state: uid}, } diff --git a/addons/mrp/wizard/wizard_schedulers_all.py b/addons/mrp/wizard/wizard_schedulers_all.py index cd0ab566daf..b2dc6634823 100644 --- a/addons/mrp/wizard/wizard_schedulers_all.py +++ b/addons/mrp/wizard/wizard_schedulers_all.py @@ -50,7 +50,7 @@ parameter_fields = { 'po_cycle': {'string':'PO Cycle', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'po_lead': {'string':'PO Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'security_lead': {'string':'Security Days', 'type':'float', 'required':True, 'default': lambda *a: 50.0}, - 'picking_lead': {'string':'Picking Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, + 'picking_lead': {'string':'Packing Lead Time', 'type':'float', 'required':True, 'default': lambda *a: 1.0}, 'automatic': {'string': 'Automatic orderpoint', 'type': 'boolean', 'help': 'Triggers an automatic procurement for all products that have a virtual stock under 0.', 'default': lambda *a: False}, 'user_id': {'string':'Send Result To', 'type':'many2one', 'relation':'res.users', 'default': lambda uid,data,state: uid}, } diff --git a/addons/product/product.py b/addons/product/product.py index 76250d7219d..df3061946ae 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -309,7 +309,7 @@ class product_product(osv.osv): 'variants': fields.char('Variants', size=64), 'product_tmpl_id': fields.many2one('product.template', 'Product Template', required=True), 'ean13': fields.char('EAN13', size=13), - 'packaging' : fields.one2many('product.packaging', 'product_id', 'Palettization', help="Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."), + 'packaging' : fields.one2many('product.packaging', 'product_id', 'Palettization', help="Gives the different ways to package the same product. This has no impact on the packing order and is mainly used if you use the EDI module."), 'price_extra': fields.float('Price Extra', digits=(16, int(config['price_accuracy']))), 'price_margin': fields.float('Price Margin', digits=(16, int(config['price_accuracy']))), } diff --git a/addons/purchase/stock_view.xml b/addons/purchase/stock_view.xml index 382966f9fbb..c8100dbff18 100644 --- a/addons/purchase/stock_view.xml +++ b/addons/purchase/stock_view.xml @@ -2,7 +2,7 @@ - stock.picking.form + Packing list stock.picking form @@ -13,7 +13,7 @@ - - - - + diff --git a/addons/sale_crm/wizard/makesale.py b/addons/sale_crm/wizard/makesale.py index 5aec9c1d666..3696c076fc2 100644 --- a/addons/sale_crm/wizard/makesale.py +++ b/addons/sale_crm/wizard/makesale.py @@ -47,7 +47,7 @@ sale_fields = { 'name' : {'string' : 'Order name', 'type': 'char'}, 'shop_id' : {'string' : 'Shop', 'type' : 'many2one', 'relation' : 'sale.shop'}, 'partner_id' : {'string' : 'Partner', 'type' : 'many2one', 'relation' : 'res.partner', 'readonly':True}, - 'picking_policy': {'string': 'Picking policy', 'type': 'selection', 'selection' : [('direct','Direct Delivery'),('one','All at once')]}, + 'picking_policy': {'string': 'Packing policy', 'type': 'selection', 'selection' : [('direct','Direct Delivery'),('one','All at once')]}, } ack_form = """ diff --git a/addons/sale_journal/__terp__.py b/addons/sale_journal/__terp__.py index 1c52f3b8db6..bd2f08845d2 100644 --- a/addons/sale_journal/__terp__.py +++ b/addons/sale_journal/__terp__.py @@ -13,7 +13,7 @@ "update_xml" : ["sale_journal_view.xml","picking_journal_view.xml","picking_journal_view_report.xml"], "description" : """ The sale journal modules allows you to categorize your - sales and deliveries (pickings) between different journals. + sales and deliveries (packing lists) between different journals. This module is very helpfull for bigger companies that works by departments. @@ -25,7 +25,7 @@ * draft, open, cancel, done. Batch operations can be processed on the different journals to - confirm all sales at once, to validate or invoice pickings, ... + confirm all sales at once, to validate or invoice packings, ... It also supports batch invoicing methods that can be configured by partners and sales orders, examples: diff --git a/addons/sale_journal/picking_journal_view.xml b/addons/sale_journal/picking_journal_view.xml index f12722431bc..76fea5a0dbf 100644 --- a/addons/sale_journal/picking_journal_view.xml +++ b/addons/sale_journal/picking_journal_view.xml @@ -6,7 +6,7 @@ sale_journal.picking.journal form -
+ @@ -24,8 +24,8 @@