Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Done by RHT on the 22/05/2024
- # Reviewed by SEA on the 29/05/2024
- # Review: https://pastebin.com/vC7GjdSd
- # Need: if a tag is adapted then adapt the tags on the children
- # Task: https://www.odoo.com/odoo/project/5686/tasks/3940222?cids=1
- for contact in records.filtered(lambda c: c.child_ids):
- for child in contact.child_ids:
- child["category_id"] = child.parent_id.category_id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement