Skip to content

[18.0][FIX] dms_auto_classification: Filter by the appropriate directories - #461

Merged
OCA-git-bot merged 3 commits into
OCA:18.0from
Tecnativa:18.0-fx-dms_auto_classification-TT60719
Feb 10, 2026
Merged

[18.0][FIX] dms_auto_classification: Filter by the appropriate directories#461
OCA-git-bot merged 3 commits into
OCA:18.0from
Tecnativa:18.0-fx-dms_auto_classification-TT60719

Conversation

@victoralmau

@victoralmau victoralmau commented Feb 5, 2026

Copy link
Copy Markdown
Member

Filter by the appropriate directories

It is important not to apply sudo() to filter by the directories to which the user has access and to filter only by those of the appropriate company.

Please @pedrobaeza and @CarlosRoca13 can you review it?

@Tecnativa TT60719

@pedrobaeza pedrobaeza added this to the 18.0 milestone Feb 5, 2026
@victoralmau
victoralmau force-pushed the 18.0-fx-dms_auto_classification-TT60719 branch from 64d799f to 81bf4c0 Compare February 5, 2026 11:23
@victoralmau
victoralmau marked this pull request as ready for review February 5, 2026 12:24
Comment thread dms_field_auto_classification/wizards/wizard_dms_classification.py Outdated

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK then. I don't know in deep the structure of this.

@victoralmau
victoralmau marked this pull request as draft February 6, 2026 09:28
…f if the directory (directory_id) is a subdirectory

TT60821
…ies (company compatibility)

It is important not to apply sudo() to filter by the directories to which the user
has access and to filter only by those of the appropriate company.

TT60719
@victoralmau
victoralmau force-pushed the 18.0-fx-dms_auto_classification-TT60719 branch from 1cba8d8 to d9ff4a6 Compare February 6, 2026 12:38
@victoralmau
victoralmau marked this pull request as ready for review February 9, 2026 07:03
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-461-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 9e7befd into OCA:18.0 Feb 10, 2026
6 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at abbb246. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 18.0-fx-dms_auto_classification-TT60719 branch February 10, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants