Skip to Content
Menu
This question has been flagged
3 Replies
5071 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

Author

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...

Author

:) 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

Author

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?

Best Answer

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

Avatar
Discard
Author

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

Related Posts Replies Views Activity
1
Sep 24
332
1
Jul 24
278
1
May 24
1641
1
May 24
652
0
Mar 24
4