[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:
Jorge Pinna Puissant
2019-07-26 11:54:21 +00:00
parent d01f3865b5
commit a53c1be0f3
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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">
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"/>
+2 -2
View File
@@ -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"/>