Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
5483 Переглядів

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

Related Posts Відповіді Переглядів Дія
1
квіт. 25
428
1
вер. 24
1239
1
лип. 24
1061
1
трав. 24
3025
1
трав. 24
1510