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

Odoo 16 storage: Use correct contact filter, make list and get consistent #202

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

bastjan
Copy link
Contributor

@bastjan bastjan commented Feb 6, 2024

Uses the new style invoice contact filter category_id -> type: invoice.

Use the same filters for list and get so we don't have any inconsistencies between the two methods. Since create and update also use the same underlying method this fixes them too.

Also adds the lost mockgen statement.

Checklist

  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

…nsistent

Uses the new style invoice contact filter `category_id` -> `type: invoice`.

Use the same filters for `list` and `get` so we don't have any inconsistencies between the two methods. Since `create` and `update` also use the same underlying method this fixes them too.

Also adds the lost mockgen statement.
@bastjan bastjan added the bug Something isn't working label Feb 6, 2024
@bastjan bastjan requested a review from a team as a code owner February 6, 2024 20:38
@bastjan bastjan merged commit a8e87c3 into master Feb 7, 2024
2 checks passed
@bastjan bastjan deleted the fix-odoo-partner-filter branch February 7, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants