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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
2
回覆
3897
瀏覽次數
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"/>
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
3月 15
|
5094 | ||
|
2
8月 24
|
1837 | ||
|
1
3月 15
|
5600 | ||
|
1
3月 15
|
8050 | ||
|
1
3月 15
|
4967 |