[IMP]Base: menutip bydefault and Nolable in Logo Upload wiz

bzr revid: aag@tinyerp.co.in-20110407092925-vzccdcctzh4z0bd6
This commit is contained in:
aag (OpenERP) 2011-04-07 14:59:25 +05:30
parent d2afc310d2
commit e9a06c1b41
2 changed files with 4 additions and 3 deletions

View File

@ -194,7 +194,7 @@
<field name="arch" type="xml">
<form string="Upload Logo">
<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"/>
<group colspan="4" col="6">
<label string="" colspan="2"/>

View File

@ -623,8 +623,9 @@ class user_preferences_config(osv.osv_memory):
}
_defaults={
'view':lambda self,cr,uid,*args: self.pool.get('res.users').browse(cr, uid, uid).view or 'simple',
'context_lang':'en_US',
'view' : lambda self,cr,uid,*args: self.pool.get('res.users').browse(cr, uid, uid).view or 'simple',
'context_lang' : 'en_US',
'menu_tips' : True
}
def execute(self, cr, uid, ids, context=None):