Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5526 Visualizzazioni

Hi,

I have an action for a menuitem:

<act_window id="....." name="..." res_model="my_model" domain="[('submitter_id', '=', uid)]"/> 

I created multiple users and logged in as different user but I always get the same records, for uid = id of the admin.

What is happening here?


Avatar
Abbandona

Same issue here. Did you solve it?

I can also confirm this issue. It also happens when you get the object create_uid. In my case, I wanted to get the user who is sending an email such as a quotation or an invoice. The work around in that case was to use a search in partners using another field (partner_id) which is a key for res.partner. users partner_id = email author_id. You could probably figure such a work around for you.

Post correlati Risposte Visualizzazioni Attività
5
nov 16
6961
1
apr 18
8076
0
ott 23
1801
2
giu 21
8826
1
apr 18
13455