Files
odoo_source/addons/project_mail_plugin/views/project_task_views.xml
T
Victor Feyens 24ccf7d9b0 [CLN] *: useless type info for actions
The type fields of actions already defaults to
the model name in the base model definition.

Therefore, specifying `ir.actions.server`, `ir.actions.act_window`
& so on as type is useless (and adds noise since it's the same as
the action model).

closes odoo/odoo#114539

Related: odoo/enterprise#37855
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-03-08 17:33:37 +01:00

12 lines
553 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- action used by the mail plugins in order to redirect the user to the newly created task in edit mode-->
<record id="project_task_action_form_edit" model="ir.actions.act_window">
<field name="name">Task: redirect to form in edit mode</field>
<field name="res_model">project.task</field>
<field name="view_mode">form</field>
<field name="view_id" ref="project.view_task_form2"/>
<field name="context">{'form_view_initial_mode': 'edit'}</field>
</record>
</odoo>