Skip to content

Conversation

@AungKoKoLin1997
Copy link
Contributor

@AungKoKoLin1997 AungKoKoLin1997 commented Sep 29, 2025

@qrtl QT5667

yostashiro and others added 25 commits September 29, 2025 07:04
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 force-pushed the 19.0-mig-attachment_delete_restrict branch from cf04b42 to c97ea27 Compare October 3, 2025 09:56
@AungKoKoLin1997 AungKoKoLin1997 marked this pull request as ready for review October 3, 2025 09:56
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-attachment_delete_restrict branch from c97ea27 to bf333bc Compare October 3, 2025 10:22
return self._raise_delete_attachment_error(allowed_users)

def unlink(self):
if self.env.uid == SUPERUSER_ID:
Copy link
Member

Choose a reason for hiding this comment

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

I thought there was a possibility that this change might cause inconveniences in some operational scenarios.

@sebastienbeau Do you have any concerns on this? If you do, we might revert this change and additionally insert a check at the beginning of mail_attachment_delete().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants