Skip to content

[18.0][MIG] announcement: Migration to version 18.0 #1099

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

Merged
merged 24 commits into from
Jun 30, 2025

Conversation

david-banon-tecnativa
Copy link
Contributor

@david-banon-tecnativa david-banon-tecnativa commented Jun 27, 2025

@Tecnativa @CarlosRoca13 @victoralmau

Updating copier template was necessary to fix pre-commit errors.

TT55499

chienandalu and others added 23 commits June 26, 2025 16:29
- Now that the reads count is stored, we need to add a depends that
triggers the recomputation. To do so, we need to link announcements and
read logs.
- Simplified popup on log in mechanism.
- The notification_expiry_date field was duplicated in the form view
- Add some thechnical suggestions
- Change the term `pendant` to a more convenient `unread`
- Regular users can't read announcements with dates in the future or
which expiration date has passed nor archived announcements.
- Fix typos

TT38174
If a user has an announcement open in multiple windows, the read will be
logged multiple times. The relevant one is only the first one.

TT38705
There's a soft compatibility with OCA's `web_dialog_size` module. If the instance has
the module installed, you'll have the dialog resize controls by default in the
announcements. Additionally, you can show the announcement dialogs expanded to the
screen full width by default setting the system parameter key `announcement.full_size`
with to any value. Remove the parameter record to disable this behavior.

TT39634
Currently translated at 100.0% (52 of 52 strings)

Translation: server-ux-15.0/server-ux-15.0-announcement
Translate-URL: https://translation.odoo-community.org/projects/server-ux-15-0/server-ux-15-0-announcement/es/
A new field "is_general_announcement" is added which when checked sends
the announcement to users belonging to the "Internal User" group.

TT42581
A new field has been added to be able to attach files to the
announcement, and these attachments will be displayed in
the announcement notification modal.

TT42581
Example of use case:
- Create an announcement to a user
- Archive the user
- When accessing the advertisement, we want to know the user(s) even if he/she is now archived.

TT49077
Currently translated at 100.0% (76 of 76 strings)

Translation: server-ux-17.0/server-ux-17.0-announcement
Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-announcement/it/
@CarlosRoca13
Copy link
Contributor

CarlosRoca13 commented Jun 27, 2025

In the migration, the feature that opened the notification automatically on login has been lost.

v17
v17_announce

v18
v18_announce

@pedrobaeza
Copy link
Member

/ocabot migration announcement

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jun 27, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 27, 2025
25 tasks
@david-banon-tecnativa
Copy link
Contributor Author

Fixed @CarlosRoca13

Copy link

@matteonext matteonext left a comment

Choose a reason for hiding this comment

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

Functional OK

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Thanks!

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-1099-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit df43aff into OCA:18.0 Jun 30, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 18.0-mig-announcement branch June 30, 2025 07:26
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.

9 participants