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

In the document app you can create a record from a pdf but how to link a pdf to an existing record ? 

아바타
취소
작성자 베스트 답변


Start by authorized “can create” with studio in the list view of documents to display the “import” button.


Get the model and the id of the record that you want to link (here an example with helpdesk ticket)



You need to know that a document can be linked to any record in any model, so there are 2 fields that are giving that information : res_model and res_id. Export those fields with the external ID of your document 

You will have this 

Complete with id and model of your record

Then import and you will have the link between those two


아바타
취소
관련 게시물 답글 화면 활동
2
5월 25
6411
1
3월 23
3101
0
7월 21
444
1
5월 22
5662
0
12월 21
3146