-
Notifications
You must be signed in to change notification settings - Fork 28.1k
[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
[FIX] mail: fix info displayed on activity #210060
Conversation
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
f49033e
to
b5523f0
Compare
@robodoo r+ As discussed, ok for a quick fix, then maybe to cleanup in master / when having a bit of time :) . |
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>
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>
Hello, this is definitely not the right fix, why isn't the problematic code adapted to the new format instead? |
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 |
Follow up of odoo#189598 Follow up of odoo#210060 task-4794562
Follow up of odoo#189598 Follow up of odoo#210060 task-4794562
This commit fixes an issue introduced by de26b96 where some fields of the activity records weren't properly read. Notably
activity_type_id
andcreate_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