From ecf4383009fa58b39d9b209db470926abca8ab33 Mon Sep 17 00:00:00 2001 From: "Saurang Suthar (OpenERP)" Date: Mon, 7 May 2012 11:16:56 +0530 Subject: [PATCH] [IMP]:improve title Based on receptions by Bases on incoming shipments in yml and xml files bzr revid: ssu@tinyerp.com-20120507054656-vgzgavr908v9y9mj --- addons/purchase/purchase.py | 2 +- addons/purchase/stock_view.xml | 4 ++-- .../purchase/test/process/generate_invoice_from_reception.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 00d98ed265c..ec93bc0f9d2 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -182,7 +182,7 @@ class purchase_order(osv.osv): 'invoice_method': fields.selection([('manual','Based on Purchase Order lines'),('order','Based on generated draft invoice'),('picking','Bases on incoming shipments')], 'Invoicing Control', required=True, help="Based on Purchase Order lines: place individual lines in 'Invoice Control > Based on P.O. lines' from where you can selectively create an invoice.\n" \ "Based on generated invoice: create a draft invoice you can validate later.\n" \ - "Based on receptions: let you create an invoice when receptions are validated." + "Bases on incoming shipments: let you create an invoice when receptions are validated." ), 'minimum_planned_date':fields.function(_minimum_planned_date, fnct_inv=_set_minimum_planned_date, string='Expected Date', type='date', select=True, help="This is computed as the minimum scheduled date of all purchase order lines' products.", store = { diff --git a/addons/purchase/stock_view.xml b/addons/purchase/stock_view.xml index 3692149c534..7f44baef713 100644 --- a/addons/purchase/stock_view.xml +++ b/addons/purchase/stock_view.xml @@ -100,7 +100,7 @@ - Based on receptions + Bases on incoming shipments stock.picking ir.actions.act_window form @@ -108,7 +108,7 @@ [('type','=','in')] {"default_type": "in", "contact_display": "partner_address", "search_default_done": 1, "search_default_to_invoice": 1} - If you set the Invoicing Control on a purchase order as "Based on receptions", you can track here all the product receptions and create invoices for those receptions. + If you set the Invoicing Control on a purchase order as "Bases on incoming shipments", you can track here all the product receptions and create invoices for those receptions.