Odoo Help

0

0
2 Answers
1
Avatar

Mitul Shingala

--Mitul Shingala--
--Mitul Shingala--

Odoo Developer

Mitul Shingala
2019/2/22 上午4:01

Hello

you have to pass the report id which is you create using <report>.

for eg. <report id="report_orderline_label">

so in your code you have to use like:

return self.env.ref('modulename.report_orderline_label').report_action(self)

0
Topieka
2019/2/22 上午4:06

On my view I have a tree. Do I create <report> inside the <tree> or in the <field> before the <tree> ?

3 Comments
Mitul Shingala
2019/2/22 上午4:12

see the example of sales order's quotation report.

Topieka
2019/2/22 上午4:13

Okay thanks

Topieka
2019/2/22 上午11:03

I've search for the example but I can't find it. So I still don't know where to find the location of <report>

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now