Skip to content

[18.0][MIG] attachment_delete_restrict: Migration to 18.0 - #3312

Merged
OCA-git-bot merged 24 commits into
OCA:18.0from
qrtl:18.0-mig-attachment_delete_restrict
Jan 25, 2026
Merged

[18.0][MIG] attachment_delete_restrict: Migration to 18.0#3312
OCA-git-bot merged 24 commits into
OCA:18.0from
qrtl:18.0-mig-attachment_delete_restrict

Conversation

@AungKoKoLin1997

Copy link
Copy Markdown
Contributor

@qrtl QT5088

yostashiro and others added 22 commits June 17, 2025 08:21
Currently translated at 100.0% (37 of 37 strings)

Translation: server-tools-14.0/server-tools-14.0-attachment_delete_restrict
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-attachment_delete_restrict/es_AR/
- Remove the display of duplicate allowed user names.
- Correct the many2many field relation
- Correct domain values and add the many2many_tags widget in views.
- Add _onchange_restrict_delete_attachment() to clear groups and users when restrict_delete_attachment is not set to custom or owner_custom.
Currently translated at 100.0% (38 of 38 strings)

Translation: server-tools-16.0/server-tools-16.0-attachment_delete_restrict
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-attachment_delete_restrict/it/
@AungKoKoLin1997
AungKoKoLin1997 marked this pull request as draft June 17, 2025 09:38
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 18.0-mig-attachment_delete_restrict branch from 9e29625 to 86c91bf Compare June 24, 2025 06:53
@AungKoKoLin1997
AungKoKoLin1997 marked this pull request as ready for review June 24, 2025 06:53
Comment thread attachment_delete_restrict/tests/test_attachment_delete_restrict.py Outdated
Comment thread attachment_delete_restrict/views/res_config_setting_views.xml Outdated
Comment thread attachment_delete_restrict/tests/test_attachment_delete_restrict.py Outdated
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 18.0-mig-attachment_delete_restrict branch from 86c91bf to 8df8734 Compare June 24, 2025 10:34
Comment thread attachment_delete_restrict/models/ir_attachment.py Outdated
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 18.0-mig-attachment_delete_restrict branch from 8df8734 to 39068c8 Compare June 25, 2025 01:23

@yostashiro yostashiro 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.

Code review. LGTM.

@kanda999 kanda999 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Minor point

Comment thread attachment_delete_restrict/tests/test_attachment_delete_restrict.py Outdated
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 18.0-mig-attachment_delete_restrict branch from 39068c8 to 3b188a0 Compare July 2, 2025 10:28
@AungKoKoLin1997
AungKoKoLin1997 requested a review from kanda999 July 2, 2025 10:28

@kanda999 kanda999 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Functional and code review.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Sayaka-qrtl Sayaka-qrtl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It looks like there’s a difference between the five levels described in README.rst and what’s actually shown on the screen. Should we standardize them to use Owner + Custom as in the UI?

@FrancoMaxime FrancoMaxime 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.

LGTM: code review

@thomaspaulb

Copy link
Copy Markdown
Contributor

/ocabot migration attachment_delete_restrict

/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 25, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-3312-by-thomaspaulb-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 25, 2026
Signed-off-by thomaspaulb
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 25, 2026
42 tasks
@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 18.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 18.0-ocabot-merge-pr-3312-by-thomaspaulb-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit bbb4414 into OCA:18.0 Jan 25, 2026
6 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.