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

Hi,

I need to add a custom information (the brand of the product) in the product model (product.template).
I can see there are 2 options :

  • Create a custom fields in Settings -> Technical -> Models (or Fields)
  • Add a property in the product.template form (⚙ -> Add Properties)

But what is the difference of both options and the possible impact to take into consideration ?

Thank you

아바타
취소
베스트 답변

Can you elaborate on an impact on API for both options? Thanks.

아바타
취소
베스트 답변

Hi,

In Odoo, creating custom fields in Settings are stored in the database may have a slight performance impact, especially with a large number of fields and require technical knowledge and access to the settings. While in Add a property, fields are simpler to add and do not impact performance as they are not stored as separate entities in the database.


Hope it helps

아바타
취소
작성자

Hi !
Thank you for your answer !

Do you know where are stored the data when using Add a property ?
For custom fieds, it is stored directly in the model (for example product.sales model for orders), but how can we access the "Add a property" data ? I need to access it through the XML RPC API from a 3rd party application

Thank you

관련 게시물 답글 화면 활동
4
12월 24
13309
2
6월 24
1506
2
5월 24
3116
1
4월 21
3260
3
2월 21
4269