From 7496ae38e6d9c6ef2d4dcc095352f6030528060d Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Tue, 19 Oct 2010 15:12:06 +0200 Subject: [PATCH] [IMP] stock purchase : contextual text for wizard partial move (Receive/Deliver) bzr revid: tfr@openerp.com-20101019131206-cjvlxily82q9gkx9 --- addons/stock/wizard/stock_partial_move.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/addons/stock/wizard/stock_partial_move.py b/addons/stock/wizard/stock_partial_move.py index d599e328c1d..8e9b28bf1ad 100644 --- a/addons/stock/wizard/stock_partial_move.py +++ b/addons/stock/wizard/stock_partial_move.py @@ -59,16 +59,15 @@ class stock_partial_move(osv.osv_memory): def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False,submenu=False): print context message = { - 'title' : 'Deliver Products', - 'info' : 'Delivery Information', + 'title' : '_(Deliver Products)', + 'info' : '_(Delivery Information)', 'button' : '_Deliver' } if context: if context.get('product_receive', False): - print "on a bien reçu un produit" message = { - 'title' : 'Receive Products', - 'info' : 'Receive Information', + 'title' : '_(Receive Products)', + 'info' : '_(Receive Information)', 'button' : '_Receive' }