[IMP] simplified views
bzr revid: fp@tinyerp.com-20100415085510-2zvzcerhscbf4rv6
This commit is contained in:
@@ -68,8 +68,9 @@ class ir_ui_menu(osv.osv):
|
||||
if context is None:
|
||||
context = {}
|
||||
ids = osv.orm.orm.search(self, cr, uid, args, offset, limit, order, context=context, count=(count and uid==1))
|
||||
if uid==1:
|
||||
return ids
|
||||
|
||||
#if uid==1:
|
||||
# return ids
|
||||
|
||||
if not ids:
|
||||
if count:
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
<group colspan="5" col="6">
|
||||
<field name="name" select="1"/>
|
||||
<field name="ref"/>
|
||||
<field domain="[('domain', '=', 'partner')]" name="title"/>
|
||||
<field domain="[('domain', '=', 'partner')]" name="title" groups="base.group_extended"/>
|
||||
<field name="lang"/>
|
||||
</group>
|
||||
<group colspan="1" col="2">
|
||||
@@ -321,7 +321,7 @@
|
||||
<field name="active"/>
|
||||
<field name="website" widget="url"/>
|
||||
<field name="date"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="parent_id" groups="base.group_extended"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
<newline/>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user