Skip to Content
Menu
This question has been flagged
1 Odpoveď
2285 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
dec 23
26991
2
feb 22
6729
1
nov 15
5497
3
sep 24
6075
0
aug 24
1112