I'm trying to show by server console the print of a variable or by the chrome developer mode, but I do not know how to do it.
please your support.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
You cannot show any log / print statements of the py file to web browser console.
Technically you could by writing a JS function that triggers the PY function and passing the output from the PY function to the JS function, which is then rendered in the console with a console.log message. But yeah, that is total overengineering ;)
Yes, that is the way but yes it needs lots of work, efforts :)
And then how do you feel, if you want to know the value of a variable, by some calculation error, etc.?
Podoba Ci się ta dyskusja? Dołącz do niej!
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
sie 25
|
2632 | ||
|
1
lip 25
|
1020 | ||
|
1
sie 25
|
1151 | ||
|
0
maj 25
|
1479 | ||
|
2
kwi 25
|
3626 |