Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5960 Lượt xem

Thanks to the DMS and the Shared Repositories (ftp) modules, I would like to create a global shared repository for each contact automatically including all his related documents (SO, invoices, etc).

Expected repository structure:

Customer X

--Sales Orders

----SO0001

------SO0001.PDF

------Other attachments

----SO0002

--Invoices

--etc

How can I set up that? WHat is the domain to apply in each child folder?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Inside the default partners repository, you can create the needed child repositories (SO, Invoices, etc). For each of them, select the "Folder per resource" type in order to automatically generate one new folder for each new record (SO, invoice, etc). In their domain definition, add this constraint: [('partner_id','in', [active_id])] So each repository will only contain documents related to the right contact. If you want to automatically add pdf documents every time a new record is created in your instance, add a file in the "Generated file" tab. Check the configuration of other default repositories to easily set up that.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 17
5031
0
thg 2 24
1367
1
thg 9 23
3625
0
thg 9 22
2832
1
thg 7 19
6284