Hi all,
I want to display the appointments of currently logged in user. For this I
wrote following record in the view.xml:
<field name="domain" eval="[('healthprof.name.internal_user.id', '=', Eval('
user.id'))]" pyson="1"/>
When I click on the tab which displays these records, following error is
displayed:
DataError: invalid input syntax for integer: ""
LINE 1: ..."."internal_user") WHERE (true AND (((("d"."id" = '') AND ("...
^
I checked PostgreSQL log, and got query from there. It looks as if the id
of the current user is not passed in the query.
Any ideas on how can I correctly get the id of the current user logged in.
--
Regards,
Khurram.
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/CAM3N3CwKToWeUniQ3Kq3%2BYkw_Do7-YDpBNu%2BboTAK2nkLfXNWg%40mail.gmail.com.