Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2223 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
gru 23
26903
2
lut 22
6636
1
lis 15
5427
3
wrz 24
5866
0
sie 24
1064