Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4145 Prikazi

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

 

Avatar
Opusti

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?

Best Answer

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

Avatar
Opusti
Best Answer

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!!!

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
avg. 24
15036
0
okt. 17
2469
1
jul. 16
10611
0
mar. 15
3660
1
mar. 15
7370