-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
[14.0] mass_mailing_partner : issues with company_name and incompatibility with mass_mailing_unique #776
Comments
Also maybe consider using It's a completely different module, as the relation between |
Would it be possible to have a context check in your side that we could use to keep the compatibility avoding the expection for that case?
Ok, we can fix that easily
Wow, it's terrible, indeed and it should go away.
There's one important thing we'd miss that is creating the partner on the fly when the contact doesn't have one to match with. |
ping @ernestotejeda |
@ivantodorovich I just made #777 It's for |
Hmmm.. like how?
I would re-check the need for
Well that wouldn't be so difficult to add, and it's an optional feature. If the data model makes more sense I'd integrate that in More improtantly I think the conception is wrong, at least in 14.0. You can have mupltiple partners sharing the same email address. It's quite common actually. This is why There are other redflags that I get from For instance, check this out:
I'd use |
The weird thing is that an SQL constraint shouldn't act on a new record that is only on the ORM memory. |
But it doesn't. |
Ah, then the code should be pass such email in the values of the copy. Probably on the initial created version (v8), the field was copy=True, and there wasn't such problem, but tests are not very well done for detecting these things on migration. |
Syncing from upstream OCA/social (14.0)
As mentioned in this comment: #773 (comment)
It's proposed to test this module separately in #773.
This issue is created to track these issues and eventually fix them and revert the tests isolation
The text was updated successfully, but these errors were encountered: