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

I wanted to use one form view which will contain multiple models. Not just like Manytoone field. All fields are to be open in the form view. 

I am a beginner in Odoo. Please tell what wold be the right process to achieve this. 

아바타
취소
베스트 답변

Hi,

If you are looking to display fields from different models into one view, either you can use the concept of the related fields or create the view using the query. While using the query you can fetch the values from the different tables and display it in the view.


Take an example we have model sale.order and pos.order and if you have to display these records of the different model as a single table you can create a new view using the query. Please see this sample here in this question: how do set multiple models in single form view ?.


Thanks

아바타
취소
작성자

Yes, This solution work while displaying the model. But how it is possible to insert into those two model from one view.

@Rasmikant
You can add a button that direct the user to custom form wizard view. From there, you can process the data to each model. It will be complicated. But it's the only way. Because you are trying to manage multiple model in a view

베스트 답변

Still no answer to how modify/insert fields ??

아바타
취소