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

[REF] mail: conquer the world (fourre-tout task, to be split) #162206

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tde-banana-odoo
Copy link
Contributor

No description provided.

Ease (future) test writing or improvements. Extracted from other commits
working on tests.

Task-3527752 (Mail: Post-PreMajor Freeze FixImpLint)
Add order on models, even technical ones, so that result of searching on
those is always deterministic. Otherwise we might endup with random issues
notably on runbot (query counters, asserts, ...).

Task-3527752 (Mail: Post-PreMajor Freeze FixImpLint)
@robodoo
Copy link
Contributor

robodoo commented Apr 17, 2024

Pull request status dashboard.

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 17, 2024
Cleanup mail module now that a lot of code changes were done recently and that
major version is slowly approaching.

Main changes
  * improve docstrings: light rewording, add parameter types, remove outdated
    comments, ...
  * light guidelines / lint update: prepares future addition by extracting
    cleaning, allowing to lessen future diff;

Task-3527752 (Mail: Post-PreMajor Freeze FixImpLint)
_message_create is already protected against unwanted parameters by
_get_message_create_valid_field_names that gives a list of valid field
names.

There is therefore no need to redo a manual check in rating.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants