Skip to Content
Menu
This question has been flagged
1 Reply
2157 Views

hey, 

i'm new user on odoo. 


i have a shop in wordpress/woocommerce.


i would like to know how generate a connexion manually (just for test) at the odoo database inside a html webpage and a script in python or other language.


it's working fine with woocommerce  / rest api, but not with odoo. (i m in db.odoo.com domain)


Any suggestions or strategy?


i try that but not working: (data comes from html form : url name, db name, user, password

    

https://pastebin.com/jKcjNgPU


   


any suggestions are welcome...

Avatar
Discard
Best Answer

Hello,

There is a wordpress plugin that sends new woocommerce customers and orders to odoo:

https://wordpress.org/plugins/notify-odoo/

I can modify it to send other wordpress data if you need.


It uses this Odoo module:

https://apps.odoo.com/apps/modules/17.0/enotif_woo_order/

To connect to woocommerce API with python functions. (you can use its code as an example)


Also there is a plugin that sends form data from wordpress to odoo:

https://wordpress.org/plugins/wp-odoo-form-integrator/

It still works with Ninja Forms 3.7.0 with minor adjustment:

https://wordpress.org/support/topic/update-for-php-7-4-and-ninja-forms-3-7-0/


Stanislav

Avatar
Discard
Related Posts Replies Views Activity
4
Dec 23
26751
2
Feb 22
6519
1
Nov 15
5349
3
Sep 24
5604
0
Aug 24
990