[IMP] simplified views

bzr revid: fp@tinyerp.com-20100415085510-2zvzcerhscbf4rv6
This commit is contained in:
Fabien Pinckaers
2010-04-15 10:55:10 +02:00
parent 749d6ef8aa
commit 65aba6816b
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -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:
+2 -2
View File
@@ -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>