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

contact merge issue with abstract reference fields #20210

Closed
CGenie opened this issue Oct 16, 2017 · 1 comment
Closed

contact merge issue with abstract reference fields #20210

CGenie opened this issue Oct 16, 2017 · 1 comment
Labels
9.0 10.0 11.0 Framework General frontend/backend framework issues

Comments

@CGenie
Copy link

CGenie commented Oct 16, 2017

Impacted versions: 9, 10, 11

Steps to reproduce:
Create an abstract model with a reference field, for example one that was suggested by the Connector module:
https://github.com/OCA/connector-prestashop/blob/9.0/connector_prestashop/models/binding/common.py#L51-L56

Current behavior:
When merging contacts, an error is thrown that the above abstract model has no database relation (table).

Expected behavior:
Do not query that model at all since it's abstract.

In particular, add the following check:

if not Model._auto:
    continue

somewhere here:

@C3POdoo
Copy link
Contributor

C3POdoo commented Mar 30, 2023

Dear @CGenie,

Thank you for your report but we are closing it due to inactivity.
We apology if we could not look at your request in time.
If your report still makes sense, don't hesitate to reopen a new one. We will try to check it as soon as possible.

This is an automated message.

@C3POdoo C3POdoo closed this as completed Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.0 10.0 11.0 Framework General frontend/backend framework issues
Projects
None yet
Development

No branches or pull requests

3 participants