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

[FIX] core: assure check_company and _check_company_auto makes sense #162128

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MiquelRForgeFlow
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow commented Apr 16, 2024

Based in old #46721. It was forgotten 😥

Enterprise PR: https://github.com/odoo/enterprise/pull/60882.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Apr 16, 2024

@C3POdoo C3POdoo added the ORM ORM, python Framework related label Apr 16, 2024
@MiquelRForgeFlow MiquelRForgeFlow force-pushed the master-imp-company-checks branch 13 times, most recently from 897bce1 to 2f8125d Compare April 16, 2024 21:47
@MiquelRForgeFlow MiquelRForgeFlow marked this pull request as ready for review April 16, 2024 22:20
@C3POdoo C3POdoo requested review from a team, rco-odoo and ryv-odoo and removed request for a team April 16, 2024 22:23
@MiquelRForgeFlow
Copy link
Contributor Author

@william-andre maybe you are interested, as you worked on #125642.

Copy link
Contributor

@william-andre william-andre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea, but I don't like the checks on explicit model names in models.py and fields.py

odoo/models.py Show resolved Hide resolved
odoo/fields.py Show resolved Hide resolved
@MiquelRForgeFlow
Copy link
Contributor Author

Hi, if you don't like the checks, then an alternative maybe should be adding the fixes without the checks... Let at least the fixes go in.

@william-andre
Copy link
Contributor

In the end, tis code is not in my ownership, the framework team is going to review this.
But I believe all my comments still apply

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

Successfully merging this pull request may close these issues.

None yet

4 participants