Community mailing list archives

community@mail.odoo.com

Re: uid not working in action defenition

by
mahmoud
- 09/04/2016 01:50:16

I think you can Use context in order to get this working for you


2016-09-04 2:19 GMT+03:00 Khaled Hamed <khaled.hamed@grandtk.com>:
Hello,

Please try user.id instead of uid

On Thu, Sep 1, 2016 at 4:13 PM, shabeer m <msg2shabeer@gmail.com> wrote:
hi,
i have an action with domain, but 'uid' is not working, please help me

---------------------
<act_window 
id = "spanio_complaint_to_me_action"
name = "My Works"
res_model = "spanio.complaint.register"
domain = "[('assigned_to','=', uid)]"
/>
-----------------

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Best regards...

Khaled Hamed Mostafa


http://www.grandtk.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe