[FIX] base, crm: placeholder for website
Before this commit, the placeholder for the website was incorrect, it missed the protocol. This could lead to a confusion to the user who could add a website without protocol. A website without protocol will be open in the browser as a page of the same website and not as an independent website. Now, the placeholders have the correct protocol. opw-2042816 closes odoo/odoo#35217 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
This commit is contained in:
@@ -2518,7 +2518,7 @@ msgstr ""
|
||||
#. module: crm
|
||||
#: model_terms:ir.ui.view,arch_db:crm.crm_case_form_view_leads
|
||||
#: model_terms:ir.ui.view,arch_db:crm.crm_case_form_view_oppor
|
||||
msgid "e.g. www.odoo.com"
|
||||
msgid "e.g. https://www.odoo.com"
|
||||
msgstr ""
|
||||
|
||||
#. module: crm
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
|
||||
<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. www.odoo.com"/>
|
||||
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
|
||||
</group>
|
||||
<group>
|
||||
<label for="contact_name"/>
|
||||
@@ -581,7 +581,7 @@
|
||||
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
|
||||
<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. www.odoo.com"/>
|
||||
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
|
||||
</group>
|
||||
|
||||
<group class="mt48">
|
||||
|
||||
@@ -22113,7 +22113,7 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:base.view_company_form
|
||||
#: model_terms:ir.ui.view,arch_db:base.view_partner_address_form
|
||||
#: model_terms:ir.ui.view,arch_db:base.view_partner_form
|
||||
msgid "e.g. www.odoo.com"
|
||||
msgid "e.g. https://www.odoo.com"
|
||||
msgstr ""
|
||||
|
||||
#. module: base
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<field name="website" widget="url" placeholder="e.g. www.odoo.com"/>
|
||||
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
|
||||
<field name="phone"/>
|
||||
<field name="email"/>
|
||||
<field name="vat"/>
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
|
||||
<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. www.odoo.com"/>
|
||||
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
|
||||
</group>
|
||||
<group>
|
||||
</group>
|
||||
@@ -258,7 +258,7 @@
|
||||
<field name="mobile" widget="phone"/>
|
||||
<field name="user_ids" invisible="1"/>
|
||||
<field name="email" widget="email" context="{'gravatar_image': True}" attrs="{'required': [('user_ids','!=', [])]}"/>
|
||||
<field name="website" widget="url" placeholder="e.g. www.odoo.com"/>
|
||||
<field name="website" widget="url" placeholder="e.g. https://www.odoo.com"/>
|
||||
<field name="title" options='{"no_open": True}'
|
||||
attrs="{'invisible': [('is_company', '=', True)]}"/>
|
||||
<field name="lang"/>
|
||||
|
||||
Reference in New Issue
Block a user