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.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
2
mar 23
|
35219 | ||
|
|
1
lis 22
|
3737 | ||
|
How to show menu for all groups and users?
Rozwiązane
|
|
2
sie 22
|
7462 | |
|
|
1
lut 21
|
7871 | ||
|
|
0
lis 17
|
7373 |
any help?
any?