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
|
35302 | ||
|
|
1
11月 22
|
3770 | ||
|
|
2
8月 22
|
7518 | ||
|
|
1
2月 21
|
7926 | ||
|
|
0
11月 17
|
7413 |
any help?
any?