FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
Anyone experience with Odoo and windev or windev mobile ?
Anyone experience with Odoo and windev or windev mobile ?
Iniciado por PETER ZHOU, 30,mar. 2018 05:52 - 4 respuestas
Conéctese…
PETER ZHOU
#1
Publicado el 30,marzo 2018 - 05:52
Hi,
Anyone work with Odoo API and windev or windev mobile ?
Able to comment ?
Regards,
PETER ZHOU
Informar
0
0
Yogi Yang
#2
Publicado el 31,marzo 2018 - 06:00
Hello Peter,
Actually it is very tough to work with the JAVA library provided for Odoo Mobile apps as we have to send all request through it only and it is using a complex set of code to send RPC/XML request and process the reply again in RPC.
Here almost all reply from Odoo come up in different structure with different number of elements and this seems to make it a bit too nonstandard. To avoid getting bogged down with unconventional XML data we are forced to use the JAVA library provided by Odoo people.
Just getting Odoo's Login feature to work (as per Odoo standards) it took me around 4 working days.
The original library is very slow in sending requests and processing received responses.
What we did was to develop a few sets of PHP scripts (a separate script set for each module) which would be running on the same physical server as Odoo and would be communicating with Odoo directly. In some cases we had to bypass Odoo and access data directly from its database for speed.
These sets of PHP scripts are a go-in-between Odoo and Mobile App.
I have never tried but one Odoo veteran advised me to use SL4A as it supports Python natively. But unfortunately it is totally non visual when it comes to building the UI so we have to use code for its.
HTH
Yogi Yang
Informar
0
0
PETER ZHOU
#3
Publicado el 01,abril 2018 - 08:34
Quote
Yogi Yang
Hello Peter,
Actually it is very tough to work with the JAVA library provided for Odoo Mobile apps as we have to send all request through it only and it is using a complex set of code to send RPC/XML request and process the reply again in RPC.
Here almost all reply from Odoo come up in different structure with different number of elements and this seems to make it a bit too nonstandard. To avoid getting bogged down with unconventional XML data we are forced to use the JAVA library provided by Odoo people.
Just getting Odoo's Login feature to work (as per Odoo standards) it took me around 4 working days.
The original library is very slow in sending requests and processing received responses.
What we did was to develop a few sets of PHP scripts (a separate script set for each module) which would be running on the same physical server as Odoo and would be communicating with Odoo directly. In some cases we had to bypass Odoo and access data directly from its database for speed.
These sets of PHP scripts are a go-in-between Odoo and Mobile App.
I have never tried but one Odoo veteran advised me to use SL4A as it supports Python natively. But unfortunately it is totally non visual when it comes to building the UI so we have to use code for its.
HTH
Yogi Yang
Hi Yang,
That means my only option is to have windev mobile app interact via webdev web service which directly connect to odoo PostgreSQL database..
Regards,
PETER ZHOU
Informar
0
0
Peter Zhou
#4
Publicado el 03,abril 2018 - 06:42
Quote
Yogi Yang
Hello Peter,
Actually it is very tough to work with the JAVA library provided for Odoo Mobile apps as we have to send all request through it only and it is using a complex set of code to send RPC/XML request and process the reply again in RPC.
Here almost all reply from Odoo come up in different structure with different number of elements and this seems to make it a bit too nonstandard. To avoid getting bogged down with unconventional XML data we are forced to use the JAVA library provided by Odoo people.
Just getting Odoo's Login feature to work (as per Odoo standards) it took me around 4 working days.
The original library is very slow in sending requests and processing received responses.
What we did was to develop a few sets of PHP scripts (a separate script set for each module) which would be running on the same physical server as Odoo and would be communicating with Odoo directly. In some cases we had to bypass Odoo and access data directly from its database for speed.
These sets of PHP scripts are a go-in-between Odoo and Mobile App.
I have never tried but one Odoo veteran advised me to use SL4A as it supports Python natively. But unfortunately it is totally non visual when it comes to building the UI so we have to use code for its.
HTH
Yogi Yang
Hi Yang,
Can you able to show me sample windev mobile code for the odoo logon ?
Regards,
Peter Zhou
Informar
0
0
Mansi
#5
Publicado el 10,octubre 2018 - 12:48
Hello peter.
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto