8000 [FIX] mail: fix info displayed on activity by thjo-odoo · Pull Request #210060 · odoo/odoo · GitHub
[go: up one dir, main page]

Skip to content

[FIX] mail: fix info displayed on activity #210060

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

Conversation

thjo-odoo
Copy link
Contributor

This commit fixes an issue introduced by de26b96 where some fields of the activity records weren't properly read. Notably activity_type_id and create_uid which only returned their ID instead of returning (ID, name).

This led to a wrong display of the additional informations inside the activities in the Chatter. Where the type of activity and its creator were empty. To fix this, we reimplement the _to_store method so that we properly read the fields while letting the store add their specific fields.

task-4794562


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor
robodoo commented May 15, 2025

Pull request status dashboard

@C3POdoo C3POdoo added the RD research & development, internal work label May 15, 2025
@tde-banana-odoo tde-banana-odoo marked this pull request as ready for review May 15, 2025 10:08
This commit fixes an issue introduced by de26b96 where some fields of the
activity records weren't properly read. Notably `activity_type_id` and
`create_uid` which only returned their ID instead of returning (ID, name).

This led to a wrong display of the additional informations inside the activities
in the Chatter. Where the type of activity and its creator were empty.
To fix this, we reimplement the _to_store method so that we properly read the
fields while letting the store add their specific fields.

task-4794562
@thjo-odoo thjo-odoo force-pushed the saas-18.3-fix-mail-fix_activity_detailed_infos-thjo branch from f49033e to b5523f0 Compare May 15, 2025 10:11
@C3POdoo C3POdoo requested review from a team May 15, 2025 10:41
@tde-banana-odoo
Copy link
Contributor

@robodoo r+

As discussed, ok for a quick fix, then maybe to cleanup in master / when having a bit of time :) .

robodoo pushed a commit that referenced this pull request May 15, 2025
This commit fixes an issue introduced by de26b96 where some fields of the
activity records weren't properly read. Notably `activity_type_id` and
`create_uid` which only returned their ID instead of returning (ID, name).

This led to a wrong display of the additional informations inside the activities
in the Chatter. Where the type of activity and its creator were empty.
To fix this, we reimplement the _to_store method so that we properly read the
fields while letting the store add their specific fields.

task-4794562

closes #210060

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
robodoo pushed a commit that referenced this pull request May 15, 2025
This commit fixes an issue introduced by de26b96 where some fields of the
activity records weren't properly read. Notably `activity_type_id` and
`create_uid` which only returned their ID instead of returning (ID, name).

This led to a wrong display of the additional informations inside the activities
in the Chatter. Where the type of activity and its creator were empty.
To fix this, we reimplement the _to_store method so that we properly read the
fields while letting the store add their specific fields.

task-4794562

closes #210060

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
@robodoo robodoo closed this May 15, 2025
@seb-odoo
Copy link
Contributor

Hello, this is definitely not the right fix, why isn't the problematic code adapted to the new format instead?

@seb-odoo
Copy link
Contributor

Here is the PR: #210296

Can you confirm this fixes the issues you had in mind?

@tde-banana-odoo
Copy link
Contributor

Here is the PR: #210296

Can you confirm this fixes the issues you had in mind?

See bug at https://www.odoo.com/odoo/project/10888/tasks/4794562

seb-odoo added a commit to odoo-dev/odoo that referenced this pull request May 16, 2025
robodoo pushed a commit that referenced this pull request May 17, 2025
Follow up of #189598
Follow up of #210060

task-4794562

closes #210296

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
seb-odoo added a commit to odoo-dev/odoo that referenced this pull request May 19, 2025
robodoo pushed a commit that referenced this pull request May 22, 2025
Follow up of #189598
Follow up of #210060

task-4794562

closes #210495

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
@fw-bot fw-bot deleted the saas-18.3-fix-mail-fix_activity_detailed_infos-thjo branch May 22, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0