I have a field "Operator"
I need to automatically populate it with the name of the user logged in
How do I do that ?
Thanks
La domanda è stata contrassegnata
2
Risposte
5535
Visualizzazioni
Hi,
you can find every table contains the following 4 fields:
create_uid,create_date,write_uid,write_date
you can display them just one line code easily in your XML file:
Hope it is useful.
Thanks.
<field name="write_uid" string="UpdatedBy"/>
<field name="write_date" string="UpdatedDate"/>
<field name="create_uid" string="CreatedBy" />
<field name="create_date" string="CreatedDate"/>
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
1
mar 15
|
6850 | ||
|
|
2
ago 24
|
3362 | ||
|
|
1
mar 15
|
7431 | ||
|
|
1
mar 15
|
10147 | ||
|
|
1
mar 15
|
6796 |