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
|
35273 | ||
|
|
1
11月 22
|
3758 | ||
|
|
2
8月 22
|
7503 | ||
|
|
1
2月 21
|
7903 | ||
|
|
0
11月 17
|
7396 |
any help?
any?