Files
odoo_source/addons/project_mail_plugin/views/project_task_views.xml
T
Aaron Bohy 1f52c8edd3 [REF] *: remove form_view_initial_mode context key support
The purpose of this key was to force the form view to be in edit
mode directly when opening a record, in specific actions. This is
now automatically the case since form views are always in edit
mode. This commit thus removes the support of the key, and removes
all occurrences where it was set in the codebase.

Part of task 3179751

closes odoo/odoo#115172

Related: odoo/enterprise#38130
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2023-03-16 14:12:37 +01:00

11 lines
482 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"/>
</record>
</odoo>