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
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
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.?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
2
aug. 25
|
2608 | ||
|
1
iul. 25
|
1015 | ||
|
1
aug. 25
|
1151 | ||
|
0
mai 25
|
1468 | ||
|
2
apr. 25
|
3620 |