Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not create contact #90

Closed
gokhanerdogdu opened this issue Sep 27, 2017 · 3 comments
Closed

Can not create contact #90

gokhanerdogdu opened this issue Sep 27, 2017 · 3 comments

Comments

@gokhanerdogdu
Copy link

Hello,

In event settings, although create partner option is enabled, during event registration from website new partners are not created. All event registrations are related with Public User if the registrar is a non logged in user.

@pedrobaeza
Copy link
Member

Module? Version? Steps to reproduce?

@gokhanerdogdu
Copy link
Author

Sorry for missing information.
Module is partner_event module and Odoo version is the latest V10 version.

First install partner_event module. Then create an event with the option "Create Partners in registration" checked. Then go to website without logged in user and register to the event with Name, email and phone. Registration is completed and the registration is seen in the backend. So far so good.

It is expected to have the partner automatically created since there is no partner with that email, but no partner is created. Also, the registration is related with Public user on the contact field.

I see this as an issue since Partner_event module description is like follows;
Configuration
There is a new option in event form view, "Create Partners in registration". If this option is checked, when you add registrations to this event, partners will be created automatically with name, email and phone fields.

If partner already exists and user only fills email, name and phone fields will be filled with partner's data.

The event registration values email, name and phone will be changed if the related partner values are changed and the event end date hasn't passed yet.

@chienandalu
Copy link
Member

@gokhanerdogdu That is the default behavior for website_event: it sets the contact to the user doing the website registration. So it's not a partner_event issue.

What you'd need is another module wich overrides website_event and use partner_event methods. You're very welcome to contribute 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants