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
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
5555
มุมมอง
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"/>
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
1
มี.ค. 15
|
6854 | ||
|
|
2
ส.ค. 24
|
3376 | ||
|
|
1
มี.ค. 15
|
7443 | ||
|
|
1
มี.ค. 15
|
10155 | ||
|
|
1
มี.ค. 15
|
6805 |