Odoo Help

0

0
2 Answers
1
Avatar

Mitul Shingala

--Mitul Shingala--

2851
| 6 4 9
Rajkot, الهند
--Mitul Shingala--

Odoo Developer

Mitul Shingala
22‏/2‏/2019 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
22‏/2‏/2019 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
22‏/2‏/2019 4:12 ص

see the example of sales order's quotation report.

Topieka
22‏/2‏/2019 4:13 ص

Okay thanks

Topieka
22‏/2‏/2019 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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now