Jack-Dane / odoo-wp-plugin

Odoo WordPress Plugin
GNU General Public License v3.0
8 stars 4 forks source link

The plugin no longer works #16

Closed JulesNdanga closed 1 year ago

JulesNdanga commented 1 year ago

Describe the bug I no longer receive leads on odoo and I have no errors.

Platform versions:

-Odoo Version: Odoo saas~16.3+e (Edition Enterprise) Odoo Platform Odoo online WP Version: 6.2.2 PHP Version: 8.2 Contact Form 7 Version: 5.7.7 Contact 7 to Odoo connector : 0.0.2

Jack-Dane commented 1 year ago

Hi @JulesNdanga,

It is unlikely that the plugin broke without any code changes if it has been working fine, did you upgrade to 0.0.1 from 0.0.2 and it started to break?

Maybe something else was upgraded to make it break?

My first guess would be that maybe an Odoo field was deleted that the plugin was using or credentials were changed for the user accessing the Odoo.

JulesNdanga commented 1 year ago

Hello @Jack-Dane I updated the plugin to latest version 0.0.3. The connection test to odoo works well, but the prospect reception is still not happening. I checked if all the fields are present and they are. Here is the capture of the mapping of the different fields. image

JulesNdanga commented 1 year ago

The problem was the many2one field, which I added.

JulesNdanga commented 1 year ago

Is there a way to concatenate two fields when sending to odoo?

Jack-Dane commented 1 year ago

@JulesNdangam Unfortunately I haven't completed the feature to support many2one fields, but that will be in version 0.0.4 as my next thing to do.

For concatenating fields, the ticket is still open, but this can easily be achieved using either a computed field (I think you can use Studio for this) or an [automated action[(https://www.odoo.com/documentation/16.0/applications/productivity/studio/automated_actions.html#automated-actions-automations) that concatenates the two fields the form submits to, into a new field on creation.

JulesNdanga commented 1 year ago

Thanks @Jack-Dane for your help, I'll try that.