[IMP] stock purchase : contextual text for wizard partial move (Receive/Deliver)
bzr revid: tfr@openerp.com-20101019131206-cjvlxily82q9gkx9
This commit is contained in:
parent
cc8022d887
commit
7496ae38e6
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue