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 | etc.
I'm trying to modify a label in a calendar view. This label uses to appear in every calendar view, just below the minicalendar on the right side of the screen. Obviously, the string of the label is different depending on the selected calendar view. In my case, I would like to change the label which appears in the calendar view of the section opportunities (crm). The label is Salesperson. I have located the file which contents the code of the calendar view, but this one is composed by only a few lines:
<!-- CRM Lead Calendar View -->
<record model="ir.ui.view" id="crm_case_calendar_view_leads">
<field name="name">CRM - Leads Calendar</field>
<field name="priority" eval="2"/>
<field name="arch" type="xml">
<calendar string="Leads Generation"
And here there are not any Salesperson strings. Where is it?
The label is comes from the attribute "color" of the calendar tag. See the below
<calendar string="Leads Generation" date_start="date_action" color="user_id">
In the crm.lead "user_id" is labelled with "Salesperson" thats why in calendar view it is appear.
If you want different label then just changed the field of the "color" attribute. It will changed label on calendar view.
I hope it is useful to you.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/12/14, 6:52 AM|
|Seen: 1590 times|
|Last updated: 3/16/15, 8:10 AM|