跳至内容
菜单
此问题已终结
1 回复
2253 查看

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...

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
4
12月 23
26953
2
2月 22
6675
1
11月 15
5480
3
9月 24
5941
0
8月 24
1092