[FIX] document_change: fixed domain problem in control menus
bzr revid: hmo@tinyerp.com-20100125065832-540s277g3qku8nq6
This commit is contained in:
@@ -325,7 +325,7 @@
|
||||
<group expand="1" string="Group By..." col="20" colspan="4">
|
||||
<filter domain="[]" string="By Owner" icon="terp-hr" context="{'group_by':'create_uid'}" help="Documents by owner"/>
|
||||
<filter domain="[]" string="By Directory" icon="terp-hr" context="{'group_by':'parent_id'}" help="Documents by directory"/>
|
||||
<filter domain="[]" string="By Type of Documents" icon="terp-hr" context="{'group_by':'type_id'}" help="Documents by type"/>
|
||||
<filter domain="[]" string="By Type of Documents" icon="terp-hr" context="{'group_by':'change_type_id'}" help="Documents by type"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
@@ -367,7 +367,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="view_document_tree"/>
|
||||
<field name="domain">[('type_id','=',',False)]</field>
|
||||
<field name="domain">[('change_type_id','=',',False)]</field>
|
||||
</record>
|
||||
<menuitem action="action_document_without_type_form" id="menu_documents_without_type_form" parent="menu_change_control"/>
|
||||
|
||||
@@ -441,11 +441,11 @@
|
||||
<field name="name">Phases to Validate</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','=','draft')]</field>
|
||||
<field name="domain">[('state','=','to_validate')]</field>
|
||||
</record>
|
||||
<menuitem action="action_process_phase_form_validate" id="menu_phases_to_validate_form" parent="menu_change_control"/>
|
||||
|
||||
<act_window domain="[('type_id', '=', active_id)]"
|
||||
<act_window domain="[('change_type_id', '=', active_id)]"
|
||||
id="act_documents_phases"
|
||||
name="Documents"
|
||||
res_model="ir.attachment"
|
||||
@@ -591,7 +591,7 @@
|
||||
<field name="name">Process Changes to Validate</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','=','draft')]</field>
|
||||
<field name="domain">[('state','=','to_validate')]</field>
|
||||
</record>
|
||||
<menuitem action="action_process_change_form_validate" id="menu_process_to_validate_form" parent="menu_change_control"/>
|
||||
|
||||
@@ -601,7 +601,7 @@
|
||||
res_model="document.change.process.phase"
|
||||
src_model="document.change.process"/>
|
||||
|
||||
<act_window domain="[('type_id', '=', active_id)]"
|
||||
<act_window domain="[('change_type_id', '=', active_id)]"
|
||||
id="act_documents_change_process"
|
||||
name="Documents"
|
||||
res_model="ir.attachment"
|
||||
|
||||
Reference in New Issue
Block a user