Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5485 Weergaven

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
Annuleer

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
5
nov. 16
6930
1
apr. 18
8066
0
okt. 23
1787
2
jun. 21
8805
1
apr. 18
13419