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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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"/>
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 15
|
5020 | ||
|
2
thg 8 24
|
1769 | ||
|
1
thg 3 15
|
5544 | ||
|
1
thg 3 15
|
8016 | ||
|
1
thg 3 15
|
4931 |