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>
11 lines
482 B
XML
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>
|