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

Hi everybody :)


i'm using hosted Odoo and would know how i can do the following thing:


i have in some views of several modules, custom fields with file upload (binary or pdf viewer).

i would be able to set an auto save of there files in some custom folders in document module.


for exemple:

In maintenance i have a file field for manual i would record in manual folder of documents.

In auto parc i have a file field for insurance file to upload witch i would record in insurance folder

and so on.


thanks by advance for your help :)

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

hi, i'm trying to do it with studio, perhaps in action ? to execute code

but i don't know how to do.

if someone know i'll read it carefully :)


아바타
취소
베스트 답변

Since I can code, i will think of writing some python to do exactly what you are trying to do.

In the model of interest such as maintenance, auto parc, write onchange method for the field of interest.

In the onchange method, create documents, save it to folder you want (maybe you can hard code folder id/name for simplicity).

I believe you can do this with Odoo studio as well.

아바타
취소
관련 게시물 답글 화면 활동
1
5월 17
11517
1
6월 23
2309
1
4월 23
11368
1
6월 22
2627
2
8월 20
9090