PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Anyone experience with Odoo and windev or windev mobile ?
Anyone experience with Odoo and windev or windev mobile ?
Started by PETER ZHOU, Mar., 30 2018 5:52 AM - 4 replies
Connect yourself…
PETER ZHOU
#1
Posted on March, 30 2018 - 5:52 AM
Hi,
Anyone work with Odoo API and windev or windev mobile ?
Able to comment ?
Regards,
PETER ZHOU
Report
0
0
Yogi Yang
#2
Posted on March, 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
Report
0
0
PETER ZHOU
#3
Posted on April, 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
Report
0
0
Peter Zhou
#4
Posted on April, 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
Report
0
0
Mansi
#5
Posted on October, 10 2018 - 12:48 PM
Hello peter.
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text