Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Example of calling JavaScript from Odoo client and filling back in some field?
by
Data Dance s.r.o., Radovan Skolnik
Hello,
I am looking for an example on how to call JavaScript from Odoo client and feeding the result back to some field(s) on the form. There is half of it (calling JavaScript) for example in purchase/static/src/toaster_button/toaster_button_widget.js but it lacks the other half.
The idea here is I need to query a PoS terminal for configuration that's residing on the local network. The configuration would be later used in PoS to communicate with the terminal.
Thank you. Best regards
Radovan Skolnik
Follow-Ups
-
Re: Example of calling JavaScript from Odoo client and filling back in some field?
byData Dance s.r.o., Radovan Skolnik -
Re: Example of calling JavaScript from Odoo client and filling back in some field?
byLambda IS DOOEL, Kiril Vangelovski -
Re: Example of calling JavaScript from Odoo client and filling back in some field?
byTherp, Tom Blauwendraat -
Re: Example of calling JavaScript from Odoo client and filling back in some field?
byData Dance s.r.o., Radovan Skolnik -
Re: Example of calling JavaScript from Odoo client and filling back in some field?
bysagars209 -
Re: Example of calling JavaScript from Odoo client and filling back in some field?
byTherp, Tom Blauwendraat