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

Hi

I created a Model that has common fields and I want to make other Child (inherited) Models, so each one will have the common fields and its additional unique fields and features.


Please help and advice


Thanks

아바타
취소
베스트 답변

Hi,

Delegation or inheritance in Odoo refers to the process of allowing one model to handle certain operations on behalf of another model. This is typically done using fields of type Many2one with the delegate attribute set to True. However, configuring such delegation usually requires manual customization in Python code or through Odoo development tools, rather than through the Studio interface.

While Studio provides a range of customization options for modifying views, fields, and other aspects of Odoo models and applications, more advanced features like delegation typically require direct access to the Odoo source code and customization through Python development.

If you need to implement delegation for a specific model in Odoo, you would typically do so by extending or customizing the model's Python class and fields directly, rather than using Studio. This may involve creating a new model or modifying an existing one to delegate certain functionality or operations to another model.

Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
2
3월 15
6254
0
6월 25
853
1
2월 24
2273
1
7월 18
7135
1
5월 16
3648