Hi, Is it possible to get the string for the current tab in a notebook and save it to my model? How can I do it if its possible
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
I think no, javascript should know but not python because it is the server side and notebook in the client side
Is it possible then to pass the value from js to python without writing a seperate web_module?
web_module is a bad name, because all the module can add javascript. But If you want that javascript send the current table to server side you must write a javascript to do a rpc call. Read the documentation on the web client
I don't want to send the current table i just want to send a string containing the current tab string, i searched the web docs already but cannot understand how do i add JS than can send a string and python can receive it, and i can't find how do i add js to a module with forms without the qweb teplating engine. but thanks for your help
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
12
déc. 17
|
24791 | ||
|
0
mars 15
|
4349 | ||
|
2
mars 15
|
7352 | ||
|
1
mars 15
|
8933 | ||
|
1
févr. 25
|
3375 |