2012-10-13 12:09:24 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2013-10-06 10:24:04 +00:00
<!-- ir.actions -->
2012-10-13 12:09:24 +00:00
<record id= "action_view" model= "ir.ui.view" >
<field name= "name" > ir.actions.actions</field>
<field name= "model" > ir.actions.actions</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Action" >
2012-10-13 12:09:24 +00:00
<group >
<field name= "name" />
<field name= "type" />
<field name= "usage" />
</group>
</form>
</field>
</record>
<record id= "action_view_tree" model= "ir.ui.view" >
<field name= "name" > ir.actions.actions.tree</field>
<field name= "model" > ir.actions.actions</field>
<field name= "arch" type= "xml" >
<tree string= "Action" >
<field name= "name" />
<field name= "type" />
</tree>
</field>
</record>
<record id= "action_view_search" model= "ir.ui.view" >
<field name= "name" > ir.actions.actions.search</field>
<field name= "model" > ir.actions.actions</field>
<field name= "arch" type= "xml" >
<search string= "Action" >
<field name= "name" filter_domain= "['|', ('name','ilike',self), ('type','ilike',self)]" string= "Action" />
</search>
</field>
</record>
<record id= "ir_sequence_actions" model= "ir.actions.act_window" >
<field name= "name" > Actions</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > ir.actions.actions</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "action_view_tree" />
<field name= "search_view_id" ref= "action_view_search" />
</record>
<menuitem id= "next_id_6" name= "Actions" parent= "base.menu_custom" sequence= "2" />
<menuitem action= "ir_sequence_actions" id= "menu_ir_sequence_actions" parent= "next_id_6" />
2013-10-06 10:24:04 +00:00
<!-- ir.actions.report.xml -->
2012-10-13 12:09:24 +00:00
<record id= "act_report_xml_view" model= "ir.ui.view" >
<field name= "name" > ir.actions.report.xml</field>
<field name= "model" > ir.actions.report.xml</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Report" >
2012-10-13 12:09:24 +00:00
<group >
<group >
<field name= "name" />
<field name= "model" />
2014-03-06 23:46:57 +00:00
<field name= "report_type" />
2014-03-21 18:47:39 +00:00
<field name= "report_name" attrs= "{'invisible':[('report_type','=', 'controller')]}" />
<field name= "report_rml" attrs= "{'invisible':[('report_type','!=', 'controller')]}" />
2012-10-13 12:09:24 +00:00
</group>
<group >
2014-03-06 23:46:57 +00:00
<field name= "multi" />
2014-03-24 16:26:16 +00:00
<field name= "attachment_use" attrs= "{'invisible':[('report_type','=', 'controller')]}" />
<field name= "attachment" attrs= "{'invisible':[('report_type','=', 'controller')]}" />
2012-10-13 12:09:24 +00:00
</group>
</group>
<notebook >
2014-03-06 23:46:57 +00:00
<page string= "Security" >
<field name= "groups_id" />
</page>
2014-03-07 01:13:05 +00:00
<page string= "RML Configuration" attrs= "{'invisible':[('report_type','not in',['pdf','sxw'])]}" >
2012-10-13 12:09:24 +00:00
<group >
<group string= "RML Report" >
<field name= "header" />
2014-03-06 23:46:57 +00:00
<field name= "report_file" />
<field name= "auto" />
<field name= "parser" />
<field name= "usage" />
2012-10-13 12:09:24 +00:00
</group>
<group string= "XML Report" >
<field name= "report_xsl" />
<field name= "report_xml" />
</group>
</group>
</page>
</notebook>
</form>
</field>
</record>
<record id= "act_report_xml_view_tree" model= "ir.ui.view" >
<field name= "name" > ir.actions.report.xml.tree</field>
<field name= "model" > ir.actions.report.xml</field>
<field name= "arch" type= "xml" >
<tree string= "Report xml" >
<field name= "name" />
<field name= "model" />
<field name= "type" />
<field name= "report_name" />
<field name= "report_type" />
<field name= "attachment" />
</tree>
</field>
</record>
<record id= "act_report_xml_search_view" model= "ir.ui.view" >
<field name= "name" > ir.actions.report.xml.search</field>
<field name= "model" > ir.actions.report.xml</field>
<field name= "arch" type= "xml" >
<search string= "Report Xml" >
<field name= "name"
filter_domain="['|', '|', '|', '|', ('name','ilike',self), ('model','ilike',self), ('type','ilike',self), ('report_name','ilike',self), ('report_type','ilike',self)]"
string="Report"/>
<group expand= "0" string= "Group By" colspan= "4" >
2014-03-07 01:13:05 +00:00
<filter string= "Report Type" domain= "[]" context= "{'group_by':'report_type'}" />
<filter string= "Report Model" domain= "[]" context= "{'group_by':'model'}" />
2012-10-13 12:09:24 +00:00
</group>
</search>
</field>
</record>
<record id= "ir_action_report_xml" model= "ir.actions.act_window" >
<field name= "name" > Reports</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > ir.actions.report.xml</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "act_report_xml_view_tree" />
<field name= "search_view_id" ref= "act_report_xml_search_view" />
</record>
<menuitem action= "ir_action_report_xml" id= "menu_ir_action_report_xml" parent= "base.next_id_6" />
2013-10-06 10:24:04 +00:00
<!-- ir.actions.act_window -->
2012-10-13 12:09:24 +00:00
<record id= "view_window_action_tree" model= "ir.ui.view" >
<field name= "name" > ir.actions.windows.tree</field>
<field name= "model" > ir.actions.act_window</field>
<field name= "arch" type= "xml" >
<tree string= "Open Window" >
<field name= "name" />
<field name= "res_model" />
<field name= "view_type" />
<field name= "view_id" />
<field name= "domain" />
</tree>
</field>
</record>
<record id= "view_window_action_form" model= "ir.ui.view" >
<field name= "name" > ir.actions.windows.form</field>
<field name= "model" > ir.actions.act_window</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Open a Window" >
2012-10-13 12:09:24 +00:00
<group >
<group >
<field name= "name" />
<field name= "res_model" string= "Object" />
<field name= "src_model" string= "Source Object" />
</group>
<group >
<field name= "usage" />
<field name= "type" readonly= "1" />
<field name= "target" />
</group>
</group>
<notebook >
<page string= "General Settings" >
<group >
<group string= "Views" >
<field name= "view_type" />
<field name= "view_mode" />
<field name= "view_id" />
<field name= "search_view_id" />
</group>
<group string= "Filters" >
<field name= "domain" />
<field name= "context" />
<field name= "limit" />
<field name= "auto_refresh" />
<field name= "auto_search" />
<field name= "filter" />
2014-02-20 10:00:36 +00:00
<field name= "multi" />
2012-10-13 12:09:24 +00:00
</group>
</group>
<group string= "Help" >
<field colspan= "2" name= "help" nolabel= "1" />
</group>
<group string= "Views" >
<field colspan= "2" name= "view_ids" nolabel= "1" >
2014-06-12 07:09:59 +00:00
<form string= "Views" >
2012-10-13 12:09:24 +00:00
<group >
<field colspan= "4" name= "sequence" />
<field name= "view_mode" />
<field domain= "[('type', '=', view_mode)]" name= "view_id" />
</group>
</form>
<tree string= "Views" >
<field name= "sequence" />
<field name= "view_mode" />
<field name= "view_id" />
</tree>
</field>
</group>
</page>
<page string= "Security" >
<field name= "groups_id" />
</page>
</notebook>
</form>
</field>
</record>
<record id= "view_window_action_search" model= "ir.ui.view" >
<field name= "name" > ir.actions.windows.search</field>
<field name= "model" > ir.actions.act_window</field>
<field name= "arch" type= "xml" >
<search string= "Open a Window" >
<field name= "name" filter_domain= "['|', ('name','ilike',self), ('res_model','ilike',self)]" string= "Action" />
<field name= "view_type" />
<group expand= "0" string= "Group By" colspan= "4" >
<filter string= "View Type" icon= "terp-stock_symbol-selection" domain= "[]" context= "{'group_by':'view_type'}" />
</group>
</search>
</field>
</record>
<record id= "ir_action_window" model= "ir.actions.act_window" >
<field name= "name" > Window Actions</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "search_view_id" ref= "view_window_action_search" />
</record>
<record id= "ir_action_window_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "view_window_action_tree" />
<field name= "act_window_id" ref= "ir_action_window" />
</record>
<record id= "ir_action_window_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "view_window_action_form" />
<field name= "act_window_id" ref= "ir_action_window" />
</record>
<menuitem action= "ir_action_window" id= "menu_ir_action_window" parent= "base.next_id_6" />
2013-10-06 10:24:04 +00:00
<!-- ir.actions.server -->
2012-10-13 12:09:24 +00:00
<record id= "view_server_action_form" model= "ir.ui.view" >
<field name= "name" > Server Action</field>
<field name= "model" > ir.actions.server</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Server Action" >
2013-07-15 15:24:24 +00:00
<sheet >
<div class= "oe_title" >
<label for= "name" class= "oe_edit_only" />
<h1 > <field name= "name" /> </h1>
</div>
<div class= "oe_right oe_button_box" name= "buttons" >
<field name= "menu_ir_values_id" invisible= "1" />
2013-07-25 12:22:57 +00:00
<button name= "create_action" string= "Add in the 'More' menu" type= "object"
2013-07-15 15:24:24 +00:00
attrs="{'invisible':[('menu_ir_values_id','!=',False)]}"
help="Display an option on related documents to run this sever action"/>
2013-07-25 12:22:57 +00:00
<button name= "unlink_action" string= "Remove from the 'More' menu" type= "object"
2013-07-15 15:24:24 +00:00
attrs="{'invisible':[('menu_ir_values_id','=',False)]}"
help="Remove the contextual action related to this server action"/>
</div>
2012-10-13 12:09:24 +00:00
<group >
<group >
2013-07-15 15:24:24 +00:00
<field name= "type" invisible= "1" />
<field name= "model_id"
on_change="on_change_model_id(model_id, wkf_model_id, crud_model_id)"/>
<field name= "state" />
2012-10-13 12:09:24 +00:00
</group>
<group >
2013-07-15 15:24:24 +00:00
<field name= "condition" />
<field name= "sequence" />
2012-10-13 12:09:24 +00:00
</group>
2013-07-15 15:24:24 +00:00
</group>
<notebook colspan= "4" >
<page string= "Python Code" name= 'code' autofocus= "autofocus"
attrs="{'invisible': [('state', '!=', 'code')]}">
<field name= "code" placeholder= "Enter Python code here. Help about Python expression is available in the help tab of this document." />
</page>
<page string= "Worflow Signal" autofocus= "autofocus"
attrs="{'invisible': [('state', '!=', 'trigger')]}">
<p attrs= "{'invisible': [('model_id', '!=', False)]}" >
Please set the Base Model before setting the action details.
</p>
<group attrs= "{'invisible': [('model_id', '=', False)]}" >
<field name= "use_relational_model" widget= "radio"
on_change="on_change_wkf_wonfig(use_relational_model, wkf_field_id, wkf_model_id, model_id)"
attrs="{'readonly': [('model_id', '=', False)]}"/>
<field name= "wkf_field_id" context= "{'key': ''}"
on_change="on_change_wkf_wonfig(use_relational_model, wkf_field_id, wkf_model_id, model_id)"
attrs="{'required': [('state', '=', 'trigger'), ('use_relational_model', '=', 'relational')],
'invisible': [('use_relational_model', '=', 'base')]}"
domain="[('model_id', '=', model_id), ('ttype', 'in', ['many2one'])]"/>
2013-07-17 12:09:36 +00:00
<field name= "wkf_model_id" invisible= "1"
on_change="on_change_wkf_model_id(wkf_model_id)"/>
<field name= "wkf_model_name" invisible= "1" />
2013-07-15 15:24:24 +00:00
<field name= "wkf_transition_id" attrs= "{'required': [('state', '=', 'trigger')]}"
domain="[('wkf_id.osv', '=', wkf_model_name)]"/>
</group>
</page>
<page string= "Client" autofocus= "autofocus"
attrs="{'invisible': [('state', '!=', 'client_action')]}">
<group >
<field name= "action_id" attrs= "{'required':[('state', '=', 'client_action')]}" />
</group>
</page>
<page string= "Create / Write / Copy" autofocus= "autofocus"
attrs="{'invisible':[('state', 'not in', ['object_create', 'object_write'])]}">
<p attrs= "{'invisible': [('model_id', '!=', False)]}" >
Please set the Base Model before setting the action details.
</p>
<group attrs= "{'invisible': [('model_id', '=', False)]}" >
<field name= "use_create" widget= "radio"
on_change="on_change_crud_config(state, use_create, use_write, ref_object, crud_model_id, model_id)"
attrs="{'invisible': [('state', '!=', 'object_create')]}"/>
<field name= "use_write" widget= "radio"
on_change="on_change_crud_config(state, use_create, use_write, ref_object, crud_model_id, model_id)"
attrs="{'invisible': [('state', '!=', 'object_write')]}"/>
2013-07-17 12:09:36 +00:00
<label for= "ref_object" string= " "
attrs="{'invisible': ['& ',
'|', ('state', '!=', 'object_write'), ('use_write', '!=', 'other'),
'|', ('state', '!=', 'object_create'), ('use_create', '!=', 'copy_other')]}"/>
<div style= "margin-left: 24px;"
attrs="{'invisible': ['& ',
'|', ('state', '!=', 'object_write'), ('use_write', '!=', 'other'),
'|', ('state', '!=', 'object_create'), ('use_create', '!=', 'copy_other')]}">
<field name= "ref_object" nolabel= "1"
on_change="on_change_crud_config(state, use_create, use_write, ref_object, crud_model_id, model_id)"/>
</div>
2013-07-15 15:24:24 +00:00
2013-07-17 12:09:36 +00:00
<field name= "crud_model_id"
on_change="on_change_crud_model_id(crud_model_id)"
attrs="{'invisible': ['|', ('state', '!=', 'object_create'), ('use_create', '!=', 'new_other')]}"/>
<field name= "crud_model_name" invisible= "1" />
2013-07-15 15:24:24 +00:00
2013-07-25 12:22:57 +00:00
<label for= "link_new_record" attrs= "{'invisible': [('state', '!=', 'object_create')]}" />
<div attrs= "{'invisible': [('state', '!=', 'object_create')]}" >
<field name= "link_new_record" nolabel= "1" style= "display: inline-block;" />
<p class= "oe_grey oe_edit_only" style= "display: inline-block; margin: 0px 0px 0px 8px;" >
Check to attach the newly created record to the record on which the server action runs.
</p>
<group >
2014-06-17 13:17:14 +00:00
<field name= "model_name" invisible= "1" />
2013-07-25 12:22:57 +00:00
<field name= "link_field_id"
2014-06-17 13:17:14 +00:00
domain="[('model_id', '=', crud_model_id), ('relation', '=', model_name), ('ttype', 'in', ['many2one'])]"
2013-07-25 12:22:57 +00:00
attrs="{'required': [('state', '=', 'object_create'), ('link_new_record', '=', True)],
'invisible': ['|', ('state', '!=', 'object_create'), ('link_new_record', '=', False)]}"/>
</group>
</div>
2013-07-15 15:24:24 +00:00
2013-07-25 12:22:57 +00:00
<label for= "link_new_record" attrs= "{'invisible': ['|', ('state', '!=', 'object_write'), ('use_write', '!=', 'expression')]}" />
<div attrs= "{'invisible': ['|', ('state', '!=', 'object_write'), ('use_write', '!=', 'expression')]}" >
<p class= "oe_grey oe_edit_only" style= "margin: 0px;" >
Write a python expression, beginning with object, that gives the record to update. An expression builder is available in the help tab. Examples:
</p>
<ul class= "oe_grey oe_edit_only" >
<li > object.partner_id</li>
<li > object.partner_id.currency_id</li>
</ul>
<field name= "write_expression"
on_change="on_change_write_expression(write_expression, model_id)"
attrs="{'required': [('state', '=', 'object_write'), ('use_write', '=', 'expression')]}"/>
</div>
2013-07-15 15:24:24 +00:00
<field name= "fields_lines" >
<tree string= "Field Mappings" editable= "top" >
<field name= "col1" domain= "[('model_id', '=', parent.crud_model_id)]" />
2012-10-13 12:09:24 +00:00
<field name= "type" />
2013-07-15 15:24:24 +00:00
<field name= "value" />
</tree>
2014-06-12 07:09:59 +00:00
<form string= "Field Mapping" >
2013-07-15 15:24:24 +00:00
<group >
<field name= "col1" domain= "[('model_id', '=', parent.crud_model_id)]" />
<field name= "type" />
<field name= "value" />
</group>
</form>
</field>
</group>
</page>
<page string= "Execute several actions" autofocus= "autofocus"
2013-07-17 12:09:36 +00:00
attrs="{'invisible': [('state', '!=', 'multi')]}">
<p class= "oe_grey" >
If several child actions return an action, only the last one will be executed.
This may happen when having server actions executing code that returns an action, or server actions returning a client action.
</p>
<field name= "child_ids"
domain="[('model_id', '=', model_id)]"/>
2013-07-15 15:24:24 +00:00
</page>
2013-07-17 12:09:36 +00:00
<page string= "Help" >
2013-07-15 15:24:24 +00:00
<group >
<div style= "margin-top: 4px;" >
<h3 > Help with Python expressions.</h3>
<p > Various fields may use Python code or Python expressions. The following variables can be used:</p>
<ul >
<li > self: ORM model of the record on which the action is triggered</li>
<li > object or obj: browse_record of the record on which the action is triggered</li>
<li > pool: ORM model pool (i.e. self.pool)</li>
<li > time: Python time module</li>
<li > cr: database cursor</li>
<li > uid: current user id</li>
<li > context: current context</li>
2014-02-21 11:53:47 +00:00
<li > workflow: Workflow engine</li>
2013-07-15 15:24:24 +00:00
</ul>
<div >
2013-07-25 12:22:57 +00:00
<p > Example of condition expression using Python</p>
2013-07-15 15:24:24 +00:00
<ul >
<li > condition: True</li>
<li > condition: object.list_price > 5000</li>
</ul>
</div>
<div attrs= "{'invisible': [('state', '!=', 'code')]}" >
2013-07-25 12:22:57 +00:00
<p > Example of python code</p>
<code >
partner_name = obj.name + '_code'
self.pool["res.partner"].create(cr, uid, {"name": partner_name}, context=context)
</code>
2013-07-15 15:24:24 +00:00
</div>
</div>
<group >
<h3 colspan= "2" > Dynamic expression builder</h3>
<p colspan= "2" attrs= "{'invisible': [('model_id', '!=', False)]}" >
Please set the Base Model of the action to enable the dynamic expression buidler.
</p>
<field name= "model_object_field"
attrs="{'invisible': [('model_id', '=', False)]}"
domain="[('model_id', '=', model_id), ('ttype', '!=', 'one2many'), ('ttype', '!=', 'many2many')]"
on_change="onchange_sub_model_object_value_field(model_object_field)"/>
<field name= "sub_object" readonly= "1" attrs= "{'invisible': [('model_id', '=', False)]}" />
<field name= "sub_model_object_field"
domain="[('model_id', '=', sub_object), ('ttype', '!=', 'one2many'), ('ttype', '!=', 'many2many')]"
attrs="{'readonly':[('sub_object','=',False)],
'required':[('sub_object','!=',False)],
'invisible': [('model_id', '=', False)]}"
on_change="onchange_sub_model_object_value_field(model_object_field,sub_model_object_field)"/>
<field name= "copyvalue" attrs= "{'invisible': [('model_id', '=', False)]}" />
2013-07-25 12:22:57 +00:00
<h3 colspan= "2" > Find the ID of a record in the database</h3>
<field name= "id_object" on_change= "onchange_id_object(id_object)" />
<field name= "id_value" />
2013-07-15 15:24:24 +00:00
</group>
</group>
</page>
</notebook>
</sheet>
2012-10-13 12:09:24 +00:00
</form>
</field>
</record>
<record id= "view_server_action_tree" model= "ir.ui.view" >
<field name= "name" > Server Actions</field>
<field name= "model" > ir.actions.server</field>
<field name= "arch" type= "xml" >
<tree string= "Server Actions" >
<field name= "name" />
<field name= "state" />
<field name= "model_id" />
<field name= "sequence" />
</tree>
</field>
</record>
<record id= "view_server_action_search" model= "ir.ui.view" >
<field name= "name" > ir.actions.server.search</field>
<field name= "model" > ir.actions.server</field>
<field name= "arch" type= "xml" >
<search string= "Server Actions" >
<field name= "name" string= "Server Action" />
<field name= "model_id" />
<field name= "state" />
<group expand= "0" string= "Group By" colspan= "4" col= "4" >
2013-11-04 10:43:34 +00:00
<filter string= "Action Type" domain= "[]" context= "{'group_by':'state'}" />
<filter string= "Model" domain= "[]" context= "{'group_by':'model_id'}" />
2012-10-13 12:09:24 +00:00
</group>
</search>
</field>
</record>
<record id= "action_server_action" model= "ir.actions.act_window" >
<field name= "name" > Server Actions</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > ir.actions.server</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" ref= "view_server_action_tree" />
<field name= "search_view_id" ref= "view_server_action_search" />
<field name= "context" > {'key':'server_action'}</field>
</record>
<menuitem action= "action_server_action" id= "menu_server_action" parent= "base.next_id_6" />
<!-- ir.actions.todo -->
<record id= "ir_actions_todo_tree" model= "ir.ui.view" >
<field name= "model" > ir.actions.todo</field>
<field name= "name" > Config Wizard Steps</field>
<field name= "arch" type= "xml" >
<tree string= "Config Wizard Steps" >
<field name= "sequence" />
<field name= "action_id" />
<field name= "type" />
<field name= "state" readonly= "1" />
<button name= "action_launch" states= "open" string= "Launch" type= "object" icon= "gtk-execute" help= "Launch Configuration Wizard" />
<button name= "action_open" states= "done"
string="Todo" type="object" help="Set as Todo"
icon="gtk-convert"/>
</tree>
</field>
</record>
<record id= "config_wizard_step_view_form" model= "ir.ui.view" >
<field name= "model" > ir.actions.todo</field>
<field name= "name" > Config Wizard Steps</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Config Wizard Steps" >
2012-10-13 12:09:24 +00:00
<header >
<button name= "action_launch"
states="open" string="Launch"
type="object" icon="gtk-execute" class="oe_highlight"
help="Launch Configuration Wizard"/>
<button name= "action_open" states= "done"
string="Set as Todo" type="object"
icon="gtk-convert" class="oe_highlight"/>
<field name= "state" widget= "statusbar" statusbar_visible= "open,done" nolabel= "1" readonly= "1" statusbar_colors= '{"open":"red","done":"blue"}' />
</header>
<sheet >
<group col= "4" >
<field name= "action_id" />
<field name= "type" />
<field name= "sequence" />
</group>
<group string= "Groups" >
<field name= "groups_id" nolabel= "1" colspan= "4" />
</group>
</sheet>
</form>
</field>
</record>
<record id= "config_wizard_step_view_search" model= "ir.ui.view" >
<field name= "model" > ir.actions.todo</field>
<field name= "name" > ir.actions.todo.select</field>
<field name= "arch" type= "xml" >
<search string= "Search Actions" >
<filter string= "To Do" name= "todo" icon= "terp-camera_test" domain= " [('state','=','open')]" help= "Wizards to be Launched" />
<field name= "action_id" />
<field name= "state" />
</search>
</field>
</record>
<record id= "act_ir_actions_todo_form" model= "ir.actions.act_window" >
<field name= "name" > Configuration Wizards</field>
<field name= "res_model" > ir.actions.todo</field>
<field name= "view_id" ref= "ir_actions_todo_tree" />
<field name= "view_type" > form</field>
2014-07-09 11:39:38 +00:00
<field name= "help" > The configuration wizards are used to help you configure a new instance of Odoo. They are launched during the installation of new modules, but you can choose to restart some wizards manually from this menu.</field>
2012-10-13 12:09:24 +00:00
</record>
2013-10-06 10:24:04 +00:00
<menuitem id= "menu_ir_actions_todo_form" action= "act_ir_actions_todo_form" parent= "base.next_id_6" />
2012-12-05 16:00:15 +00:00
<record id= "action_run_ir_action_todo" model= "ir.actions.server" >
<field name= "name" > Run Remaining Action Todo</field>
<field name= "condition" > True</field>
<field name= "type" > ir.actions.server</field>
<field name= "model_id" ref= "model_res_config" />
<field name= "state" > code</field>
<field name= "code" >
config = self.next(cr, uid, [], context=context) or {}
if config.get('type') not in ('ir.actions.act_window_close',):
action = config
</field>
</record>
2012-10-13 12:09:24 +00:00
</data>
</openerp>