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

From a res.users form view i can see the 'related partner'

But i do not find a way back ?

In the 'res.partner' form view, I would like to see if this partner has a portal user associated (Thus a res.user).

Now the only trace I see, is in the chatter, the note 'Portal Access Granted'.


Or is this not possible due to the use of composition-based inheritance ?

Avatar
Annuleer
Beste antwoord

Hello Jaco,

res.partner model has "user_ids" fields which is one2many related to res.users.

you can check user_ids field has value if it is then check type of user as per you requirement.

check following screenshot where parner has assign users.



check following screenshot where user is not linkd with partner.


Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015

Avatar
Annuleer
Auteur

How could i have missed that !

Thanks, i ll have a look at customizing this.

Beste antwoord

Hello Jaco,

If you export a list of your contact with the field 'Users/Related Partners', you can see if the  'res.partner' has an associated 'res.user'.

You could add that field to the 'res.partner' form view but it's not a link to the 'res.user'. I know it sounds weird but looks like it could work.

Hope it helps.

Avatar
Annuleer
Auteur

Yes that is what i saw too. I guess it is this type of inheritance that is one-way.

Gerelateerde posts Antwoorden Weergaven Activiteit
2
okt. 25
2560
1
sep. 25
2547
3
jul. 25
4000
1
mei 25
2113
4
mei 25
3448