I want to show the green ribbon for won opportunities in the crm for kanban view
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hello HI,
To get the green ribbon for won opportunities in crm kanban view you need to inherit kanban view and add code for visibility of that green ribbon as below.
Please find code in Comment.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
<record model="ir.ui.view" id="crm_inherited_kanban">
<field name="name">crm.lead.kanban</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_kanban_view_leads"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('ribbon-top-right')]" position="after">
<div class="ribbon ribbon-top-right"
attrs="{'invisible': [('probability', '<', 100)]}">
<span class="bg-success">Win</span>
</div>
</xpath>
</field>
</record>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Nov 24
|
1834 | ||
|
2
Nov 24
|
250 | ||
|
2
Jun 24
|
517 | ||
|
2
Jan 24
|
5005 | ||
Opportunity and Lead
Solved
|
|
1
Nov 23
|
759 |