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
|
34206 | ||
|
1
11月 22
|
2987 | ||
|
2
8月 22
|
6759 | ||
|
1
2月 21
|
7287 | ||
|
0
11月 17
|
6580 |
any help?
any?