I want to auto generate my own sequential code and don't want Odoo to add the text "Customer's Opportunity" when I select the Customer. How do I disable it and auto generate a new sequential number whenever I create a new opportunity just like Sales Order.
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,
In Odoo the name of the CRM ie, "Customer
Opportunity" is gaining by a compute method . So inorder to disable it
you need to inherit the module "crm.lead" and override the field name
and remove the compute function from it or you can super the compute
function and change the functionality.
And to add custom sequence number in CRM please refer to our blog
Hope it helps
Hi,
Using automated action, you can achieve the same. See this example of generating the automatic barcode value for the product using the automated action and the sequence, using the same approach you can achieve your goal.
* Define a sequence
* Create an automated action which executes on create and get the value from sequence
* set the value to the field
Watch: Generate Barcode For Products Using Automated Action 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 3 24
|
1336 | ||
|
3
thg 2 24
|
1912 | ||
|
1
thg 4 23
|
8379 | ||
CRM automations
Đã xử lý
|
|
1
thg 12 24
|
1227 | |
|
1
thg 3 24
|
3095 |