server-tools
server-tools copied to clipboard
[18.0][FIX] tracking_manager: Solved the invalid recordset issue
- Steps to Reproduce:
- Go to Settings > Models, select any model (e.g., res.partner).
- Ensure 'Active' and 'Automatic Configuration' are enabled.
- Under Domain, change the 'Field Type' to boolean (or anything except one2many).
- Go to the related model (e.g., Contacts), create a new record, and try to save.
- Issue: An attribute-related error occurs on save due to the Domain field's incompatible type.
File "/mnt/data/odoo-addons-dir/tracking_manager/models/models.py", line 52, in _tm_notify_owner
data[owner._name][owner.id][owner_field_name].append(
AttributeError: 'int' object has no attribute '_name'
Hi @Kev-Roche, @sebastienbeau, some modules you are maintaining are being modified, check this out!
@pedrobaeza can we merge?
What a great day to merge this nice PR. Let's do it! Prepared branch 18.0-ocabot-merge-pr-3267-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at d1bc314b51048cede25a117ec1df19aae035d6fa. Thanks a lot for contributing to OCA. ❤️