This question has been flagged
2 Replies
6579 Views

Hi everybody,

I am beginner in using odoo. I encounter this error below whenever i click on a record in timesheet interface. I actually use the timesheet sheet custom module.

Odoo Error Server: raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf))) ValueError: Invalid field 'visibility' in leaf "<osv.ExtendedLeaf: ('visibility', '=', 'user_id') on project_task (ctx: )>"

Thank you for your help!

Avatar
Discard
Author Best Answer

Thank you for your response.

Avatar
Discard
Best Answer

Hi,

Check the corresponding model and see, whether there is a field named visibility . Invalid leaf error is thrown when you use a non existing field.


Thanks

Avatar
Discard