document: Domain to filter by uid

Asked by jehan on 2009-08-12

I installed the document addon and tried to filter cases (and other objects) by logged in user and
I wonder why a Domain for a folder like [('user_id','=',uid)] gives me

NameError: name 'uid' is not defined

in the server log if I try to access the folder by ftp?

Please can you give me a hint what I've done wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
jehan
Solved:
2009-08-13
Last query:
2009-08-13
Last reply:

This question was reopened