diff --git a/models/crm_lead.py b/models/crm_lead.py index 46e5c7366730c8d91ff8cf2c401834bc724b4e54..5310fd0c7c75b1a02ec7bc526aa7b8dab0369a59 100644 --- a/models/crm_lead.py +++ b/models/crm_lead.py @@ -41,3 +41,4 @@ class CRMleadMVH(models.Model): string="Reflexion technique", track_visibility='onchange') presentation_detaillee = fields.Text(string="Présentation détaillée") + google_drive_link = fields.Char('Lien Google Drive') diff --git a/views/crm_lead_view.xml b/views/crm_lead_view.xml index 0ccd4a2ec772fb2b4aa94a5694a78bd031556947..51ae51c7543faef172fba8c736bf835369c12358 100644 --- a/views/crm_lead_view.xml +++ b/views/crm_lead_view.xml @@ -24,8 +24,8 @@ <field name="active" widget="boolean_button" options="{"terminology": "archive"}"/> </button> </xpath> - <field name="team_id" position="attributes"> - <attribute name="invisible">True</attribute> + <field name="team_id" position="after"> + <field name="google_drive_link" widget="url"/> </field> <xpath expr="//page[1]" position="attributes">