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

Hello

Is there any custom module developed for adding a new button "Create and Duplicate" in modal window, rised when creating new records in one2many fields? This seems to be a good option for some specific cases, maybe helpful for the user.

Regards

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

Hello,

You can put one more button "Create and Copy" which call create method and after calling create method it calls copy method.

or you can refer this module which copy records from selected records in wizard and customise for your model.

https://apps.odoo.com/apps/modules/10.0/tko_base_multiple_duplicate/

Also see this  which creates records on onchange:

https://www.odoo.com/forum/help-1/question/onchange-event-of-o2m-and-m2m-4081


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 23
2055
0
thg 4 21
6
2
thg 7 20
10381
1
thg 1 25
1708
5
thg 8 24
2646