Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/crm/models/crm_lead.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ class CrmLead(models.Model):
('correct', 'Correct'),
('incorrect', 'Incorrect')], string='Email Quality', compute="_compute_email_state", store=True)
website = fields.Char('Website', help="Website of the contact", compute="_compute_website", readonly=False, store=True)
instagram_username = fields.Char('Instagram Username', help="Instagram username of the contact")
lang_id = fields.Many2one(
'res.lang', string='Language',
compute='_compute_lang_id', readonly=False, store=True)
Expand Down
2 changes: 2 additions & 0 deletions addons/crm/views/crm_lead_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<field name="country_id" placeholder="Country" class="o_address_country" options='{"no_open": True, "no_create": True}'/>
</div>
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
<field name="instagram_username" placeholder="e.g. @odoo"/>
<field name="lang_active_count" invisible="1"/>
<field name="lang_code" invisible="1"/>
<field name="lang_id" invisible="lang_active_count &lt;= 1"
Expand Down Expand Up @@ -228,6 +229,7 @@
title="By saving this change, the customer phone number will also be updated."
invisible="not partner_phone_update"/>
</div>
<field name="instagram_username" placeholder="e.g. @odoo"/>
</group>
<field name="type" invisible="1"/>
<group invisible="type == 'lead'">
Expand Down