콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4261 화면

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
15331
0
10월 17
2583
1
7월 16
10795
0
3월 15
3779
1
3월 15
7445