Hi, we are a small company that newly subscribed to Odoo. In the built in CRM application, there is a Name display field. I would like this to just get the values that was inputted in the Last Name and First Name fields, instead of inputting. How do I do this? I have access to studio, and I am able to add and remove fields, but I cannot see how I can put in a computed field.
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 achieve your requirement by setting a compute function for the field you created with Odoo Studio. You can refer to the following guide for detailed instructions: Define Compute Method in Odoo 16 Studio.
In Odoo, compute methods allow you to dynamically compute the value of a field based on other fields or model data. This is particularly useful when you need to calculate values on the fly rather than storing them directly in the database.
By following the steps outlined in the guide, you'll be able to define a computing method for your field using Odoo Studio, enabling you to customize the behavior of your application according to your specific requirements.
Hope it helps
Hi,
You can easily add a new field using the studio and then write the compute function for the field. To define a computed field from the user interface, see this video explaining the same: How To Add Compute Field From User Interface In Odoo
Thanks
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 12 21
|
5889 | ||
|
0
thg 12 16
|
3420 | ||
|
2
thg 5 25
|
1250 | ||
|
1
thg 4 25
|
1147 | ||
|
0
thg 3 25
|
1327 |
Maybe this can help you: https://odootricks.tips/computed-fields/