GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
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, mar., 30 2018 5:52 AM - 4 respostas
Conecte-se…
PETER ZHOU
#1
Publicado em março, 30 2018 - 5:52 AM
Hi,
Anyone work with Odoo API and windev or windev mobile ?
Able to comment ?
Regards,
PETER ZHOU
Denunciar
0
0
Yogi Yang
#2
Publicado em março, 31 2018 - 6:00 AM
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
Denunciar
0
0
PETER ZHOU
#3
Publicado em abril, 01 2018 - 8:34 AM
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
Denunciar
0
0
Peter Zhou
#4
Publicado em abril, 03 2018 - 6:42 AM
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
Denunciar
0
0
Mansi
#5
Publicado em outubro, 10 2018 - 12:48 PM
Hello peter.
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto