-
-
Notifications
You must be signed in to change notification settings - Fork 197
[8.0][IMP][partner_event] Propagate partner changes and show errors when registering partners #48
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
Conversation
partner_event/models/res_partner.py
Outdated
| def write(self, data): | ||
| res = super(ResPartner, self).write(data) | ||
| for partner in self: | ||
| partner.registrations.partner_data_update(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make self.mapped('registrations').partner_data_update(data)
|
Tests for new features will be welcome. |
|
Check pylint |
|
Fixes done, tests pending |
|
LGTM 👍 |
|
Rebase please. |
|
@antesti please rebase... |
|
This needs rebasing. |
42a4c9b to
0253c9b
Compare
|
Travis is green now 😄 |
rafaelbn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in runbot
* [ADD] Helpdesk: Añadida plantilla y función de envío de mail. * [FIX] Fix the sending user email
This PR adds several improvements:
event_registration_partner_unique. Now, wizard register each partner inside a database savepoint and when finished shows partners that couldn't be registered.@api.oneby@api.multi