Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4436 Lượt xem

Hi Community,

I want to open form when i change the kanban stage. I'm made the custom stage is xyz. And i want to do like when I'm Drag & Drop the records into xyz stage only and only xyz. that time i need to open the form. how to do this if you know this please let me know.

See My Code Below.

<record model="crm.stage" id="stage_lead5">
    <field name="name">XYZ</field>
    <field name="probability">15</field>
    <field name="on_change">1</field>
    <field name="sequence">2</field>
</record>​ ​ 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

try it 
https://www.odoo.com/forum/help-1/question/open-kanban-cart-edit-form-in-popup-while-moving-on-other-stagies-156670

Ảnh đại diện
Huỷ bỏ
Tác giả

not working

Hi finally got time to look into it. here is a rough patch it's just POC.

https://pastebin.com/A41ey2z3

Câu trả lời hay nhất

I don't think your requirement get fit into default option available..May be you can write some JS to do. 

Ảnh đại diện
Huỷ bỏ
Tác giả

Hello @Saravanan

Can you say me ? How to change in js file if possible then tell me

Thanks

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 24
1699
1
thg 1 24
1751
1
thg 12 20
2605
1
thg 11 19
110
7
thg 8 25
27711