Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1499 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
9943
1
ก.ค. 24
1504
2
พ.ค. 24
1728
v17: error while inheriting res.users แก้ไขแล้ว
3
ม.ค. 24
2695
0
มี.ค. 22
2844