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

[MIG] mail_activity_board: Migration to 18.0 #14

Open
wants to merge 64 commits into
base: 18.0
Choose a base branch
from

Conversation

carlosdynapps
Copy link

No description provided.

@carlosdynapps carlosdynapps force-pushed the 18.0-mig-mail_activity_board branch from 1936ade to 599e4e5 Compare November 26, 2024 13:34
dajuayen and others added 29 commits November 26, 2024 19:07
…d in boards. (#283)

* [ADD] Module that insert activities board.

* [FIX] Author error in __manifest__ file and style changes.

* [FIX] Fix replace in view, rename files and style changes.

* [FIX] Enumerated list ends without a blank line; unexpected unindent.

* [FIX] Name fail.

* [FIX] Bug in view.

* [FIX]  Add button Activities in mail.thread and readme folder. Others improvements in style of code.

* [FIX] Type 'tree' not found in registry: problem solved.

* [FIX] Dependence change: 'mail' for 'calendar'.

* [FIX] Eliminated unnecessary imports.

* [FIX] Bugs about js and if/else.

* [FIX] Improvements following guide lines and eliminating unnecessary attributes in views.

* [ADD] Added counter in the 'Activities List' button.

* [FIX] Bugs in javascript with 'Activities' button.

* [ADD] Tests folder.

* [FIX] Deleted references to modules not installed.

* [FIX] Formatting javascript.

* [FIX] Bug: added a soft line before a class.

* [FIX] Bug: OCA/social#283 (comment)

* [FIX] Escaping 'lt' in xml file. Bug: OCA/social#283 (comment)

* [FIX] The meeting attendees are shown in kanban mode on the meeting board.

* [FIX] Hide in form view of the activity board the assistant field if the activity is not a meeting type or if there are no assistants.

* [FIX] Change to default kanban view for partners.
Currently translated at 100.0% (18 of 18 strings)

Translation: social-13.0/social-13.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_activity_board/fr_BE/
Currently translated at 88.9% (16 of 18 strings)

Translation: social-13.0/social-13.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_activity_board/es/
[FIX] add title to <i> tag and removed console.log in js

Co-authored-by: Miquel Raïch <[email protected]>

Co-authored-by: Miquel Raïch <[email protected]>
Add a direct access from activity calendar and form views to the linked model instance.

Bedore this change, it was not possible to access to the model instance linked to an activity from the calendar view nor from the view opened by clicling on the activity into the calendar

[IMP] mail_activiy_board: Restrict related_model_instance selection to models supporting mail acitvities

Co-Authored-By: Miquel Raïch <[email protected]>
victoralmau and others added 23 commits November 26, 2024 19:07
…s only visible if the user has the permission.

TT43037
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/
Currently translated at 95.4% (21 of 22 strings)

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/fr/
Currently translated at 100.0% (22 of 22 strings)

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/es/
`image_small` field has been renamed to `image_small` since the use of `image.mixin`
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-17.0/social-17.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_board/
Currently translated at 100.0% (22 of 22 strings)

Translation: social-17.0/social-17.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_board/it/
Currently translated at 100.0% (22 of 22 strings)

Translation: social-17.0/social-17.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_board/pt/
@rven rven force-pushed the 18.0-mig-mail_activity_board branch from 599e4e5 to d83866f Compare November 26, 2024 18:28
@rven rven force-pushed the 18.0-mig-mail_activity_board branch from d83866f to 01d9923 Compare November 26, 2024 18:50
>
<field name="res_name" invisible="1" />
<h1>
<field name="related_model_instance" />

Choose a reason for hiding this comment

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

You could add: options="{'no_open': True}" this way function open_origin will be called as the button intended

@amkarthik
Copy link
Member

@carlosdynapps
While testing we faced few issues reported below

  1. View activities button missing on the chatter.
    image

  2. TypeError: ctx.kanban_image is not a function when navigating to Dashboard -> Activities

I couldn't create PR to your branch. It shows Pull request creation failed. Validation failed: must be a collaborator .

Hereby attached the patches for the fix.
patches.zip

Refer: https://github.com/sodexis/mail/tree/18.0-mig-mail_activity_board

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.