跳至內容
選單
此問題已被標幟
1 回覆
3943 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 23
2055
0
4月 21
6
2
7月 20
10385
1
1月 25
1709
5
8月 24
2647