コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4291 ビュー

Hi,

I would like to implement custom version of "Duplicate" function for product. In my case, I will not only duplicate existing product, but also duplicate his BOM together with work plan. Could somebody give advice how to do it ?

Any help will be appreciated

 

アバター
破棄

Great question, Sody, my fellow Odoo enthusiast. I know that the question was asked just recently and I don't want to appear impatient but has anyone found a solution yet?

How about override copy method and implement your changes?

最善の回答

Hi,

This app is able to to duplicate BOM on duplicating a product
https://apps.odoo.com/apps/modules/16.0/duplicate_product_bom/

Hope it helps

アバター
破棄
最善の回答

Hi Sody,

what we usually do in cases like these is debugging the process first. That takes a few hours but it's very interesting and you learn to appreciate the magic of the Odoo experts. They are true artists. Then we override the original function, make a call to the parent function and add our new logic. Usually we then debug for another few hours to fix the newly added errors.

Does that help? We are still in school but we started with Odoo because it is so much fun!!!

アバター
破棄
関連投稿 返信 ビュー 活動
3
8月 24
15398
0
10月 17
2596
1
7月 16
10804
0
3月 15
3793
1
3月 15
7466