improvement

bzr revid: fp@tinyerp.com-20081121084640-v152x6l5fzldzi9t
This commit is contained in:
Fabien Pinckaers 2008-11-21 09:46:40 +01:00
parent 82e9ce4697
commit 47077a7105
2 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,7 @@
<field name="field_ids" nolabel="1" colspan="4">
<form string="Fields">
<field name="sequence"/>
<field name="field_id" domain="parent.model_ids and [('model_id','in',parent.model_ids[0][2])] or []">
<field name="field_id" domain="parent.model_ids and [('model_id','in',parent.model_ids[0][2]),('ttype','&lt;&gt;','many2many'),('ttype','&lt;&gt;','one2many')] or []">
<tree string="Field List">
<field name="model_id"/>
<field name="name"/>
@ -67,7 +67,7 @@
</form>
<tree editable="bottom" string="Fields to Display">
<field name="sequence"/>
<field name="field_id" domain="parent.model_ids and [('model_id','in',parent.model_ids[0][2])] or []"/>
<field name="field_id" domain="parent.model_ids and [('model_id','in',parent.model_ids[0][2]),('ttype','&lt;&gt;','many2many'),('ttype','&lt;&gt;','one2many')] or []"/>
<field name="group_method"/>
<field name="graph_mode"/>
<field name="calendar_mode"/>

View File

@ -18,6 +18,7 @@
<field name="partner_address_id" string="Contact"/>
<field name="date" string="Date"/>
<field name="user_id" string="Assigned to"/>
<field name="state"/>
</tree>
</field>
</record>