These are chat archives for allegro/ralph

16th
Oct 2018
Dopsterinho
@Dopsterinho
Oct 16 2018 07:42

Hy @vi4m :

class UserInfoView(UserInfoMixin, RalphDetailView):

icon = 'user'
name = 'user_additional_info'
label = _('Additional info')
url_name = 'user_additional_info'

It is working if I assign the user directly on the BackOfficeAsset . If I do it from My model with the "Mitarbeiter" Field, it won't Show up in additional Info.
I am Pretty sure it has something to do with the Api, or the View of RalphUser or the my Model by itself ? There is something that I am missing...A class method Maybe ? My Model is Pretty Basic...

So if the User Field from the BackofficeAsset gets populated by my "Mitarbeiter" Field Value, then the Additional_USer_Info.html, will also get populated.

✪ vi4m Marcin Kliks
@vi4m
Oct 16 2018 09:07
@MarekBleschke do you know how it’s done?
@mkurek ?
robbagithub
@robbagithub
Oct 16 2018 11:49
Hello. Total Noob here, I've been looking for an app to manage our DCFM data for ages. Power IQ sucked... Just wondering if Ralph handles Cable labels yet?
✪ vi4m Marcin Kliks
@vi4m
Oct 16 2018 13:52
did you try demo? @robbagithub
Dopsterinho
@Dopsterinho
Oct 16 2018 15:18

@MarekBleschke do you know how it’s done?

I think the easiest way would be to bring the User Profile Field on to my model "Mitarbeiter" Field ?
or with a classmethod something like "self.user = self.mitarbeiter" ?