İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1646 Görünümler

when I try to create project from kanban view - create button, It is showing the quick form, But instead I want to call the normal project creation form.

how to inherit this by extending the corresponding view?

odoo  17


Avatar
Vazgeç
En İyi Yanıt

Hi,

Create an XML file in your custom_module and overwrite the action 'open_create_project'.

You can go through the below code:

    <record id="project.open_create_project" model="ir.actions.act_window">
        <field name="name">Create a Project</field>
        <field name="res_model">project.project</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="project.edit_project"/>
        <field name="target">current</field>
        <field name="context">{"default_allow_billable": 0}</field>
    </record>

Hope it helps.


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
10134
1
Tem 24
1669
2
May 24
1945
3
Oca 24
2912
0
Mar 22
3037