تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2305 أدوات العرض

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
ديسمبر 23
27020
2
فبراير 22
6774
1
نوفمبر 15
5540
3
سبتمبر 24
6156
0
أغسطس 24
1113