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.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
2
3月 23
|
35227 | ||
|
|
1
11月 22
|
3739 | ||
|
|
2
8月 22
|
7467 | ||
|
|
1
2月 21
|
7878 | ||
|
|
0
11月 17
|
7375 |
any help?
any?