Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5136 Widoki

Hello All,

I am using Odoo 11. And i want to remove open dialog wizard when click on create button on kanban view instead of open full view of crm lead form. So, How to remove dialog box wizard from create button?

Also attaching screenshot.

PFA


Thanks in advance.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

I Got the solution for above problem.


For that you could just find and edit that kanban view in order to remove this attr: on_create="crm.create_opportunity_simplified"

You could do it easy with developer mode activated by editing the kanban view in that menu.

If you wanna do it in a module with xml view inheritance, you could do it like:

<record id="crm_case_kanban_view_leads" model="ir.ui.view">
    <field name="name">crm.lead.kanban.lead</field>
    <field name="model">crm.lead</field>
    <field name="inherit_id" ref="crm.crm_case_kanban_view_leads"/>
    <field name="arch" type="xml">
        <xpath expr="//kanban" position="attributes">
            <attribute name="on_create"/>
        </xpath>
    </field>
</record>
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 19
10343
1
cze 23
2490
1
lis 22
3124
2
sie 22
7457
1
sty 25
9115