Skip to content
Snippets Groups Projects
Commit a3dd3d92 authored by Jérémy Hennecart's avatar Jérémy Hennecart
Browse files

[IMP] crm: remove create/edit option on lost reasons in lost wizard


Remove the create_edit option when creating a new lost reason to avoid
displaying an unnecessary wizard.

task-2155189

closes odoo/odoo#42120

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent cbab93f4
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<field name="arch" type="xml">
<form string="Lost Reason">
<group class="oe_title">
<field name="lost_reason_id"/>
<field name="lost_reason_id" options="{'no_create_edit': True}" />
</group>
<footer>
<button name="action_lost_reason_apply" string="Submit" type="object" class="btn-primary"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment