[IMP]Base: menutip bydefault and Nolable in Logo Upload wiz
bzr revid: aag@tinyerp.co.in-20110407092925-vzccdcctzh4z0bd6
This commit is contained in:
parent
d2afc310d2
commit
e9a06c1b41
|
@ -194,7 +194,7 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Upload Logo">
|
<form string="Upload Logo">
|
||||||
<separator string="Upload your company logo in JPG or PNG with a format similar to 450*150 pixels" colspan="4"/>
|
<separator string="Upload your company logo in JPG or PNG with a format similar to 450*150 pixels" colspan="4"/>
|
||||||
<field colspan="4" height="150" name="logo" widget="image"/>
|
<field colspan="4" height="150" name="logo" widget="image" nolabel="1"/>
|
||||||
<separator colspan="4"/>
|
<separator colspan="4"/>
|
||||||
<group colspan="4" col="6">
|
<group colspan="4" col="6">
|
||||||
<label string="" colspan="2"/>
|
<label string="" colspan="2"/>
|
||||||
|
|
|
@ -623,8 +623,9 @@ class user_preferences_config(osv.osv_memory):
|
||||||
|
|
||||||
}
|
}
|
||||||
_defaults={
|
_defaults={
|
||||||
'view':lambda self,cr,uid,*args: self.pool.get('res.users').browse(cr, uid, uid).view or 'simple',
|
'view' : lambda self,cr,uid,*args: self.pool.get('res.users').browse(cr, uid, uid).view or 'simple',
|
||||||
'context_lang':'en_US',
|
'context_lang' : 'en_US',
|
||||||
|
'menu_tips' : True
|
||||||
}
|
}
|
||||||
|
|
||||||
def execute(self, cr, uid, ids, context=None):
|
def execute(self, cr, uid, ids, context=None):
|
||||||
|
|
Loading…
Reference in New Issue