Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4610 Переглядів

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
трав. 25
6402
1
бер. 23
3099
0
лип. 21
444
1
трав. 22
5651
0
груд. 21
3144