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

We use Microsoft Word to store additional information about Customers for people who work outside of Odoo with that same Customer.


How can I link a word document to each Customer in Odoo, via a link so that when you click the link, Word opens (so you can view and edit the Word Doc)?

아바타
취소
베스트 답변

This is possible, provided that every user who clicks:

a) Has a copy of Microsoft Word installed on the device they click from

b) Can access a shared drive (or url) from the device they click from


You create a custom field, then populate it with something like this:

ms-word:ofe|u|file://F:/dir/filename.docx

ms-word:ofe|u|file://///server/fshare/dir/filename.docx

ms-word:ofe|u|https://www.server.com/filename.docx

.. then make the widget of the field URL so that it becomes clickable.


ofe = open for editing

ofv = open for viewing


This works for Microsoft Word, PowerPoint, Excel, Visio, Access, Project, Publisher, Sharepoint, and InfoPath.

For information on the syntax, please review https://docs.microsoft.com/en-us/office/client-developer/office-uri-schemes


아바타
취소

hey ray , i try it but i get this error from microsoft office saying : "sorry .. we can't do this action , because office don't Recognize the cmd"

any help !

You can test these commands outside of Odoo, in your web browser address bar. Get the correct command there first (referring to the link for the syntax). I just pasted "ms-word:ofe|u|file://F:/dir/filename.docx" into the address bar (no http or other prefix required) and Word opened with a "Directory Name is not valid" error.

hey rey ;

i try 3 ways :

for info i have the local url of my attachement :

web/image/1334?unique=d578af77bf4bd7a054dff3b80c293649aa893917

so i did first this :

ms-word:ofe|u|http://myip@/web/image/1334?unique=d578af77bf4bd7a054dff3b80c293649aa893917.docx

in this case i get the same error : office can't recognize my commande

2- i did this ms-word:ofe|u|http://myip@/web/image/1334.docx

= word is open but not with the code values (unicode)

3- i try this also : ms-word:ofe|u|http:/myip@/web/image/d578af77bf4bd7a054dff3b80c293649aa893917.docx

= i got the same thing also , word is open but unicode values

베스트 답변

Is this a working solution for Odoo v15?

Im guessing the url will be the odoo database url?

아바타
취소
관련 게시물 답글 화면 활동
1
3월 24
1506
0
3월 15
5205
2
3월 15
9787
0
3월 15
4858
1
3월 15
5991