Hello,
For PHP 7.4
Replace all:
$_GET{'pageno'}
with:
$_GET['pageno']
in the file:
wp-content/plugins/wp-odoo-form-integrator/admin/class-wp-odoo-form-integrator-admin.php
Replace all:
if (!$ret[faultCode]){
with:
if (!isset($ret['faultCode'])){
in the file:
wp-content/plugins/wp-odoo-form-integrator/includes/class-wp-odoo-client.php
–
For Ninja Forms 3.7.0
Replace the code:
public function get_all_forms(){
$all_forms = ninja_forms_get_all_forms();
foreach ( $all_forms as $form ) {
$result[] = array( 'id' => $form['id'], 'label' => $form['name'] );
}
return $result;
}
with:
public function get_all_forms(){
$result = array();
if (function_exists('Ninja_Forms')){
$f = Ninja_Forms()->form()->get_forms();
foreach ( $f as $form ) {
$result[] = array(
'id' => $form->get_id(),
'label' => $form->get_setting( 'title' )
);
}
}
return $result;
}
and the code:
public function get_form_fields($form_id){
$form_fields = ninja_forms_get_fields_by_form_id( $form_id );
foreach ( $form_fields as $field ) {
$result[] = array( 'id' => $field["id"], 'label' => $field['data']['label'] );
}
return $result;
}
with:
public function get_form_fields($form_id){
$result = array();
if (function_exists('Ninja_Forms')){
$f = Ninja_Forms()->form($form_id)->get_fields();
foreach ( $f as $field ) {
$result[] = array(
'id' => $field->get_id(),
'label' => $field->get_setting('label')
);
}
}
return $result;
}
in the file:
wp-content/plugins/wp-odoo-form-integrator/modules/wp-odoo-form-integrator-ninja-forms.php
Stanislav
]]>Hello,
I just installed your plugin which seems to be very useful to my needs. I am now struggling with the following details :
1 When putting credentials in my local wordpress, the authentication works while it doesn’t online ? What can be the origin of this issue ?
2 When trying to add a new form, your plugin seems to be driven toward form plugins such as contact, ninja and formidable forms. In my case, I used the nicepage builder.
– Is your plugin working outside the default plugins ? If so, how do I proceed ?
3 When trying to add a new form, I have a popup “Unable to fetch Odoo models. Please check Settings”, is that normal ?
My sincere regards ?
]]>I get the following Error:
Unable to fetch Odoo models. Please check Settings
Odoo 13 CE
WP 6.0
Contact Form 7 (V 5.6)
I have a web page and in the contact section, when I fill in the fields of the contact form, I get this error. AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant faultCode – assumed’ faultCode ‘(this will throw an Error in a future version of PHP) in / var / www / vhosts
and the data is not sent to the CRM of the odoo platform
Unable to fetch Odoo models. Please check Settings
I have odoo 12 on premises, can connect ok, but get error
Unable to fetch Odoo models. Please check Settings
Hi,
I can not edit or add a new form with lead / opportunity model, it just loads but nothing happen. I still received the contacts on odoo from the previous contact form created months ago.
Can you help please? this is very important !
]]>Hello, I have a contact form made with WPforms. I would like to send the details submitted in form to be saved in odoo erp. Please help.
]]>Hi,
I’m having a problem accessing Odoo Base.
I filled all fields (Title, Form type, Odoo Model) in order to add a new for mapping, but connection seems to be slow.
I don’t think that’s a networking issue because the authentification test succeeded.
Could you help me?
Browsers: Firefox, Chrome.
OS: Windows 10 (18362.535)
Best Regards,
]]>I’ve this plugin installed on a wp and when i set the config params it says
Could not access https://odoo.xxxx.com/xmlrpc/2/common
I saw an explantion about xmlrpclib but from python3.x the lib is called xmlrpc which is installed by default.
The example showed on a previous answer says :
import xmlrpclib
url = “localhost:8069”
common = xmlrpclib.ServerProxy(‘{}/xmlrpc/2/common’.format(url))
common.version()
But obviously xmlrpc has no ServerProxy attribute.
Is this plugin updated to work with version odoo v.12?
What must i do in order to make this work?
Hi, I’m having an error wanting to connect to the odoo. When I click on test authentication I get the following error: Could not access https://url-odoo.com/xmlrpc/2/common
How can I solve that ?
]]>Hello, I’m in Odoo v11, I have installed the plugin successfully, but have problems when trying to connect with Odoo in setting it said PHP XML-RPC library is not installed I have check both of server and WP have installed https://yadi.sk/i/Oj5aJIqv3aGhAa
https://yadi.sk/i/7CjWQ05q3aGhDG
plz help
Hello, I followed the steps for installing and configuring the plugin. The connection test to the database is correct. I want WP to store a crm.lead record in my Odoo database, everything seems to be correct but the record never appears in my Odoo database.
I need help (even I can pay for a development).
Thanks!
]]>Dear Support,
I installed the plugin and tried to test authentication, i get “Could not access https://myerp:8069/xmlrpc/2/common”
Do i need to setup on my odoo erp anything to authenticate, i have already put all correct login credentials.
Please help me to setup.
Thanks,
Sam.
Hello,
First of all, thanks for your tool. It work great for me, but I need a little info.
As is :
I’m connected to the server.
I succeeded to create contact “mass malling” from CF7, just an email. But now i need to attribute a Specific Mailing List.
Mailing Lists list_ids many2many optional
I tried a lot of possibilities. The id of my list seems to be 1628…
The field type is Many2many so regarding to the orm doc, i created a hidden filed in CF7 with the value : (0, _, values)
But it doens’t work.
Can you help me please ??
Thanks
Adrien
Hi
I’m using contact form 7 but I do not know how to upload image files (binary field in odoo) that can be saved.
Any recommendation to work with files?
Kind regards
]]>Hi, I am trying to configure your app and I get the following error, https://xxxx.xxxxxx.net/xmlrpc/2/common, and it does not connect to my database in oddo.
that could be happening?
]]>Hello,
i have added a contact form and i have mapped fields to odoo model “crm.lead” but when i add informations and submit in my site, i can’t find it in odoo.
Please help.
Thx.
Hello,
It will be great to connect all our wordpress website’s to our odoo systeem. But we work with gravity forms.
Do you know if (and when) this plugin also support gravity forms?
Thank you!
]]>I’m trying to connect but it return an error and says the database does not exists, while it does.
I’m running Odoo v 11.0 enterprise on Odoo.sh.
Any reason why this is failing?
Is it not possible to make this work with API instead of using the database login?
Traceback (most recent call last): File “/home/odoo/src/odoo/odoo/modules/registry.py”, line 59, in __new__ return cls.registries[db_name] File “/home/odoo/src/odoo/odoo/tools/func.py”, line 68, in wrapper return func(self, *args, **kwargs) File “/home/odoo/src/odoo/odoo/tools/lru.py”, line 44, in __getitem__ a = self.d[obj].me KeyError: ‘codeagency’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/home/odoo/src/odoo/odoo/service/wsgi_server.py”, line 124, in wsgi_xmlrpc result = odoo.http.dispatch_rpc(service, method, params) File “/home/odoo/src/odoo/odoo/http.py”, line 115, in dispatch_rpc result = dispatch(method, params) File “/home/odoo/src/odoo/odoo/service/common.py”, line 57, in dispatch return g[exp_method_name](*params) File “/home/odoo/src/odoo/odoo/service/common.py”, line 29, in exp_authenticate res_users = odoo.registry(db)[‘res.users’] File “/home/odoo/src/odoo/odoo/__init__.py”, line 76, in registry return modules.registry.Registry(database_name) File “/home/odoo/src/odoo/odoo/modules/registry.py”, line 61, in __new__ return cls.new(db_name) File “/home/odoo/src/odoo/odoo/modules/registry.py”, line 73, in new registry.init(db_name) File “/home/odoo/src/odoo/odoo/modules/registry.py”, line 141, in init with closing(self.cursor()) as cr: File “/home/odoo/src/odoo/odoo/modules/registry.py”, line 472, in cursor return self._db.cursor() File “/home/odoo/src/odoo/odoo/sql_db.py”, line 634, in cursor return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized) File “/home/odoo/src/odoo/odoo/sql_db.py”, line 178, in __init__ self._cnx = pool.borrow(dsn) File “/home/odoo/src/odoo/odoo/sql_db.py”, line 517, in _locked return fun(self, *args, **kwargs) File “/home/odoo/src/odoo/odoo/sql_db.py”, line 585, in borrow **connection_info) File “/usr/lib/python3/dist-packages/psycopg2/__init__.py”, line 164, in connect conn = _connect(dsn, connection_factory=connection_factory, async=async) psycopg2.OperationalError: FATAL: database “codeagency” does not exist
]]>I am having issues with your plugin. Its connecting successfully to Odoo server, but the mapping is not saving and there seems to be no data being transmitted to the Odoo database. What do I do here?
]]>Hello
How are you?
I’m using wordpress 4.7.5 and Odoo 10
In settings – Ok
Test Authentication: WP successfully connected to Odoo Server
Save: Settings successfully saved
I’m having difficulties in add form
Only data is precessed
It can not connect to the system odoo
Tested in localhost and web servers
Localhost ubuntu 16 – php5.6
web servers:
odoo 10 in DigitalOcean
wordpress in Bravulink and another wordpress in Hostgator
Configured Remote MySQL
All wordpress 4.7.5
All Odoo 10
Please look at some pictures
https://www.webpubli.work/integracao/
Thank you for developing the plugin
Very interesting wordpress and odoo
Hi
I get the error “PHP XMLRPC library is not installed”.
Is that because the connection to the odoo server has no ssl? Does you plugin work without ssl?
Thank you very much and best regards.
]]>I’m trying to connect a simple form whit contact form 7 to create a lead/ooportunity on odoo 10.
I have mapped the few fields (basic contanct form 7 form) but I have a question on the “type” field that should content “lead” string or “opportunity” but I do not know how to configure it in the form
You can do an example or a tutorial.
I think this plugin is potentially a great tool but I can not configure it.
Is there any configuration to do in odoo to get the lead?
Hello!
I just installed this plugin and connected to my Odoo 8 server. I created a new formidable test form and mapped two fields (name and email) to the corresponding fields in crm.lead module.
Unfortunately the mapping doesn’t get saved. Whenever I reopen the mapping, everything is gone…
I installed the module through the online wordpress installer.
]]>