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

hello,


in default installation, in settings->reports->reports I see report labeled 'Inventory' (as seen on picture attached); unfortunately there is no any 'print', 'show' 'generate' nor any oher option makin it executed.

how to:

- see from where in odoo this report is being generater, or

- how to generate it?

thank you in advance & regards

Tomasz

아바타
취소
베스트 답변

Read how to do it here for QWeb reports, at the end of the docs

https://www.odoo.com/documentation/8.0/reference/reports.html#reports-are-web-pages

아바타
취소
작성자

seems to be goot hint - however link you've pasted does not seem to be valid for odoo 10 (paths shown in webpage linked do not work); will try to explore this option anyway.

regards

Tomasz

작성자

still, does not work :) I've tried also doc for v10, but it seems to be just copied from v8 - in v10 there is no path shown in doc, nor is possible to invoke even sample report using url :/

Im sure that there is something that you are doing wrong and if you don't provide more info like exactly what are you trying to do with what report and url you are trying...

작성자

:) ok then. in article you've referenced there is:

---

Reports are web pages

Reports are dynamically generated by the report module and can be accessed directly via URL:

For example, you can access a Sale Order report in html mode by going to http://<server-address>/report/html/sale.report_saleorder/38

Or you can access the pdf version at http://<server-address>/report/pdf/sale.report_saleorder/38

---

unfortunately

1) urls provided above (obviosly I am changing <server-address> into proper address) do not work for example sale.report_saleorder

2) I was considering this name as example, so was trying to find (from os side) paths in odoo directory:

- report/html

- report/pdf

- sale.report

unfortunately none of above gave me any result - and this is why I am thinking that article for v10 is just copy of v8, while its content is not 100% relevant to v10.

obviously if I am wrong, and if you could give me example of any default report in odoo v10 (visible as shown on pisture above) to be opened using url - I would really appreciate.

regards

Tomasz

the last part of the url is the id of the record for the report related model, sale.order in the example, like 38 is for the sale.order record with id 38

you could create a sale.order record, get it's id from the url when you get into the record form and use it to render the pdf or html of the report by changing the 38 in the url

http://<server-address>/report/pdf/sale.report_saleorder/38

작성자

best help I've received here, thank you :) it is not about being lazy, sometimes you just see something obviuos only when guided by hand :)

Happy to help you, :)

could you upvote the answer too?

베스트 답변

I dont know how that is possible. Did you try to reinstall stock module?

아바타
취소
작성자

no, it has nothing in common with setup - it is just designd this way (there is no possibility to preview report using path settings->reports->reports; I have access to several odoo installation, and is the case in each of these; question is how to preview this report / where it is visible

관련 게시물 답글 화면 활동
1
8월 25
507
1
4월 25
1523
1
9월 24
2218
1
7월 24
1986
1
5월 24
4350