[IMP] base_action_rule: action rule view should in sheet

bzr revid: hmo@tinyerp.com-20121009122739-89dolzmm73o1nar5
This commit is contained in:
Harry (OpenERP) 2012-10-09 17:57:39 +05:30
parent 1b319e527d
commit 5e4ddf78da
1 changed files with 51 additions and 49 deletions

View File

@ -12,59 +12,61 @@
<field name="model">base.action.rule</field> <field name="model">base.action.rule</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Action Rule" version="7.0"> <form string="Action Rule" version="7.0">
<group col="4"> <sheet>
<field name="name"/> <group col="4">
<field name="model_id"/> <field name="name"/>
<field name="model" invisible="1"/> <field name="model_id"/>
<field name="filter_id" domain="[('model_id','=',model)]" context="{'default_model_id': model}"/> <field name="model" invisible="1"/>
<field name="sequence"/> <field name="filter_id" domain="[('model_id','=',model)]" context="{'default_model_id': model}"/>
<field name="active"/> <field name="sequence"/>
</group> <field name="active"/>
<notebook> </group>
<page string="Conditions"> <notebook>
<group> <page string="Conditions">
<group name="model" string="Conditions on Model Fields"> <group>
<field name="regex_name"/> <group name="model" string="Conditions on Model Fields">
<field name="trg_user_id"/> <field name="regex_name"/>
<field name="trg_user_id"/>
</group>
<group name="partner" string="Conditions on Model Partner">
<field name="trg_partner_id"/>
<field name="trg_partner_categ_id"/>
</group>
<group name="state" string="Conditions on Status">
<field name="trg_state_from"/>
<field name="trg_state_to"/>
</group>
<group name="timing" string="Conditions on Timing">
<field name="trg_date_type"/>
<field name="trg_date_range" string="Delay After Trigger Date" attrs="{'invisible': [('trg_date_type', '=', 'none')]}"/>
<field name="trg_date_range_type" attrs="{'invisible': [('trg_date_type', '=', 'none')]}"/>
</group>
</group> </group>
<group name="partner" string="Conditions on Model Partner"> <group string="Note">
<field name="trg_partner_id"/> <label string="The rule uses the AND operator. The model must match all non-empty fields so that the rule executes the action described in the 'Actions' tab." />
<field name="trg_partner_categ_id"/>
</group> </group>
<group name="state" string="Conditions on Status"> </page>
<field name="trg_state_from"/> <page string="Actions">
<field name="trg_state_to"/> <group name="action_followers">
<field name="act_followers" widget="many2many_tags"/>
</group> </group>
<group name="timing" string="Conditions on Timing"> <group name="action_field" col="4" string="Fields to Change">
<field name="trg_date_type"/> <field name="act_user_id"/>
<field name="trg_date_range" string="Delay After Trigger Date" attrs="{'invisible': [('trg_date_type', '=', 'none')]}"/> <field name="act_state"/>
<field name="trg_date_range_type" attrs="{'invisible': [('trg_date_type', '=', 'none')]}"/>
</group> </group>
</group> <group name="action_server" string="Server Actions to be Triggered (eg. Email Reminder, Call Object Method, etc...)" >
<group string="Note"> <field name="server_action_ids" domain="[('model_id','=', model_id)]" nolabel="1" context="{'default_model_id': model_id}">
<label string="The rule uses the AND operator. The model must match all non-empty fields so that the rule executes the action described in the 'Actions' tab." /> <tree string="Server Actions">
</group> <field name="sequence"/>
</page> <field name="name"/>
<page string="Actions"> <field name="state"/>
<group name="action_followers"> </tree>
<field name="act_followers" widget="many2many_tags"/> </field>
</group> </group>
<group name="action_field" col="4" string="Fields to Change">
<field name="act_user_id"/> </page>
<field name="act_state"/> </notebook>
</group> </sheet>
<group name="action_server" string="Server Actions to be Triggered (eg. Email Reminder, Call Object Method, etc...)" >
<field name="server_action_ids" domain="[('model_id','=', model_id)]" nolabel="1" context="{'default_model_id': model_id}">
<tree string="Server Actions">
<field name="sequence"/>
<field name="name"/>
<field name="state"/>
</tree>
</field>
</group>
</page>
</notebook>
</form> </form>
</field> </field>
</record> </record>