How can i downgrade this line of code to work with version 8:
return self.env.ref('Module_name.report').report_action(self, data=data)
Because report_action isn't exist in version 8
and get_action function needs the report template not the report.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can i downgrade this line of code to work with version 8:
return self.env.ref('Module_name.report').report_action(self, data=data)
and get_action function needs the report template not the report.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Mar 23
|
32494 | ||
|
1
Nov 22
|
1699 | ||
|
2
Aug 22
|
5655 | ||
|
1
Feb 21
|
6176 | ||
|
0
Nov 17
|
5435 |
any help?
any?