2010-02-02 13:47:02 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2011-08-04 14:33:05 +00:00
<menuitem id= "base.menu_base_action_rule_admin" name= "Automated Actions"
2011-07-28 07:04:32 +00:00
parent="base.menu_custom" />
2010-03-03 06:04:34 +00:00
2010-04-16 09:16:25 +00:00
<!--
Action Rule Form View
-->
<record id= "view_base_action_rule_form" model= "ir.ui.view" >
<field name= "name" > base.action.rule.form</field>
2010-02-02 13:47:02 +00:00
<field name= "model" > base.action.rule</field>
<field name= "arch" type= "xml" >
2012-06-09 14:13:14 +00:00
<form string= "Action Rule" version= "7.0" >
2012-06-14 12:11:56 +00:00
<sheet >
<group col= "4" >
<field name= "name" />
<field name= "model_id" on_change= "onchange_model_id(model_id)" />
<field name= "filter_id" />
<field name= "sequence" />
<field name= "active" />
</group>
<notebook >
<page string= "Conditions" >
<group >
<group name= "model" string= "Conditions on Model Fields" >
<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 string= "Conditions on States" >
<field name= "trg_state_from" />
<field name= "trg_state_to" />
</group>
<group string= "Conditions on Timing" >
<field name= "trg_date_type" />
<group attrs= "{'invisible': [('trg_date_type', '=', 'none')]}" >
<field name= "trg_date_range" string= "Delay After Trigger Date" />
<field name= "trg_date_range_type" />
</group>
</group>
2012-06-05 21:07:48 +00:00
</group>
2012-06-14 12:11:56 +00:00
<separator string= "Note" />
<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." />
</page>
<page string= "Actions" >
<group string= "Fields to Change" col= "4" >
<field name= "act_user_id" />
<field name= "act_state" />
2012-06-05 21:07:48 +00:00
</group>
2012-06-14 12:11:56 +00:00
<group col= "2" string= "Server Action to be Triggered" >
<field name= "server_action_id" />
2012-06-05 21:07:48 +00:00
</group>
2012-06-14 12:11:56 +00:00
</page>
<page string= "Email Actions" >
<group col= "4" >
<separator colspan= "4" string= "Email Reminders" />
<field name= "act_remind_partner" />
<field name= "act_remind_attach" />
<field name= "act_remind_user" />
<group col= "2" colspan= "2" attrs= "{'invisible': [('act_remind_user','=',False)]}" >
<field name= "act_reply_to" attrs= "{'required':[('act_remind_user','=',True)]}" />
2012-06-05 21:07:48 +00:00
</group>
2012-06-14 12:11:56 +00:00
<separator colspan= "4" string= "Email Information" />
<field name= "act_email_from" />
<field name= "act_email_to" />
<field name= "act_mail_to_user" />
<field colspan= "4" name= "act_mail_to_email" />
<field name= "act_mail_to_watchers" />
<field colspan= "4" name= "act_email_cc" />
<separator colspan= "4" string= "Email Body" />
<field colspan= "4" name= "act_mail_body" height= "250"
nolabel="1" attrs="{'required':[('act_remind_user','=',True)]}" />
<separator colspan= "4" string= "Special Keywords to be Used in the Body" />
<label align= "0.0" string= "%%(object_id)s = Object ID" colspan= "2" />
<label align= "0.0" string= "%%(object_subject)s = Object subject" colspan= "2" />
<label align= "0.0" string= "%%(object_description)s = Object description" colspan= "2" />
<label align= "0.0" string= "%%(object_date)s = Creation date" colspan= "2" />
<label align= "0.0" string= "%%(partner)s = Partner name" colspan= "2" />
<label align= "0.0" string= "%%(partner_email)s = Partner Email" colspan= "2" />
<label align= "0.0" string= "%%(object_user)s = Responsible name" colspan= "2" />
<label align= "0.0" string= "%%(object_user_email)s = Responsible Email" colspan= "2" />
<label align= "0.0" string= "%%(object_user_phone)s = Responsible phone" colspan= "2" />
2011-02-14 16:32:31 +00:00
</group>
2012-06-14 12:11:56 +00:00
</page>
</notebook>
</sheet>
2010-02-02 13:47:02 +00:00
</form>
</field>
2010-04-26 13:45:17 +00:00
</record>
2010-03-25 13:43:25 +00:00
2010-04-26 13:45:17 +00:00
<!-- Action Rule Tree View -->
2010-03-25 13:43:25 +00:00
2010-04-26 13:45:17 +00:00
<record id= "view_base_action_rule_tree" model= "ir.ui.view" >
<field name= "name" > base.action.rule.tree</field>
<field name= "model" > base.action.rule</field>
2010-02-02 13:47:02 +00:00
<field name= "arch" type= "xml" >
2010-04-26 13:45:17 +00:00
<tree string= "Action Rule" >
2010-05-11 08:59:48 +00:00
<field name= "sequence" />
2010-07-10 10:55:48 +00:00
<field name= "name" colspan= "4" />
<field name= "filter_id" />
2010-02-02 13:47:02 +00:00
</tree>
</field>
2010-04-26 13:45:17 +00:00
</record>
<!-- Action Rule Action -->
2012-08-04 13:21:36 +00:00
<record id= "base_action_rule_act" model= "ir.actions.act_window" >
2010-07-29 07:07:11 +00:00
<field name= "name" > Automated Actions</field>
2010-04-26 13:45:17 +00:00
<field name= "res_model" > base.action.rule</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" ref= "view_base_action_rule_tree" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to setup a new automated action rule.
</p> <p >
Use automated actions to automatically trigger actions for
various screens. Example: a lead created by a specific user may
be automatically set to a specific sales team, or an
opportunity which still has status pending after 14 days might
trigger an automatic reminder email.
</p>
</field>
2010-03-03 06:04:34 +00:00
</record>
2012-08-04 13:21:36 +00:00
<menuitem id= "menu_base_action_rule_form"
parent="base.menu_base_action_rule_admin" action="base_action_rule_act" sequence="1"/>
2010-04-26 13:45:17 +00:00
2010-03-03 06:04:34 +00:00
2010-02-02 13:47:02 +00:00
</data>
2010-02-15 14:42:24 +00:00
</openerp>