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

[17.0] Incorrect display of tracked one2many field in chatter (tracking_manager module) #3165

Open
melissalateb opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@melissalateb
Copy link

melissalateb commented Jan 15, 2025

Module

tracking_manager

Describe the bug

  • When I enable tracking on a one2many field in a custom model using the tracking_manager module, the tracked changes appear in the chatter. However, instead of showing the display name or a meaningful value, the system displays the raw IDs of the records (e.g., Modified: sale.order.linked, 24) in the chatter.

This issue does not occur when tracking one2many fields on standard models like sale.order.line. It seems specific to custom models. Am i missing something?

  • The second thig is when changing a boolean field related (for example here sale.order.linked), it doesn't show both the before and after values; it only displays the new value with the arrow.

To Reproduce

  1. Create a custom model with a One2many field ( in my example : sale.order.linked).
  2. Enable tracking on this field.
  3. Create records with the one2many field.
  4. Modify a boolean related to one2many field save the record.
  5. Observe the chatter for tracked changes.

Image:

Create
Image

Write
Image

Expected behavior

  • The same think as Order Lines for tracking value.
  • And more details about value changes before and after.

Additional context

Odoo 17.0 enterprise

@melissalateb melissalateb changed the title Incorrect display of tracked one2many field in chatter (tracking_manager module) [17.0] Incorrect display of tracked one2many field in chatter (tracking_manager module) Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant