I have 2 models related one to many
- UserTimesheet
- UserTimesheetRecord
When I logged-in as an Administrator, I can renders the list of UserTimesheet from all users without error (see below pic)
But when I logged-in as normal user (joko in this case).. listing of UserTimesheet already caused error (see below)
... many lines ...
File "/trytond/transaction.py", line 109, in __new__
transactions = cls._local.transactions
RecursionError: maximum recursion depth exceeded in comparison
FYI: I always check the user who is logged-in, and always try to filter the content based on the logged-in user. In this case, the user (joko) should only sees timesheets that belongs to him..
I checked on another post of similar error here, it seems not the problem because my tryton.cfg only dependent on very basic modules:
[tryton]
version=7.4.0
depends:
ir
party
company
company_work_time
xml:
afx_timesheet.xml
What can be possibly wrong?
Best regards
Bromo