Repository: OCA/crm (language: python)

Issue:
The crm_lead_vat's description could be more precise
Hi,

I'm referring to this module : https://github.com/OCA/crm/tree/13.0/crm_lead_vat

The description says "This module was written to extend the functionality of CRM leads to support setting the VAT."

I would detail what "VAT" means. I guess it's "Value added tax".
Writing "VAT (value added tax)" would be easier for people (who come from all over the world and speak multiple languages) to understand.

Thanks for your great work!


Discussion / hints:
It's VAT identification number (https://en.wikipedia.org/wiki/VAT_identification_number), and it's usually called only as VAT in lot of places. Anyway, please do a PR for improving the description with such long name:

https://odoo-community.org/page/Contribute
Hi,

I'm sorry, but I was told elsewhere on Github that PR weren't to be used for such comments and that I should use "issues" instead. So I don't know where to post comments anymore.

Furthermore, I still think that adding 3 words to make it more clear would help (and it wouldn't cost much).
As a French speaker, I had to Google the expression and I found "value added tax" instead...

I told you about creating the PR adding that 3 words, but OK, I have done it: eecbb5a9b3bb3b775d4aa4685e44e4cd0f003544

Oh sorry, I think I didn't understand what you meant.
Thanks for the help!

Fix patch:
diff --git a/crm_lead_code/i18n/es.po b/crm_lead_code/i18n/es.po
index 6d9dc7399d5..1fc6d0cbc5d 100644
--- a/crm_lead_code/i18n/es.po
+++ b/crm_lead_code/i18n/es.po
@@ -9,20 +9,20 @@ msgstr ""
 "Project-Id-Version: Odoo Server 10.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-12-04 15:47+0000\n"
-"PO-Revision-Date: 2021-02-11 21:44+0000\n"
-"Last-Translator: Mat-moran <amadeo.moran@gmail.com>\n"
+"PO-Revision-Date: 2023-08-02 14:10+0000\n"
+"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
 "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: \n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.3.2\n"
+"X-Generator: Weblate 4.17\n"
 
 #. module: crm_lead_code
 #: model_terms:ir.ui.view,arch_db:crm_lead_code.crm_case_kanban_view_leads_inherit
 msgid "&amp;nbsp;"
-msgstr ""
+msgstr "&amp;nbsp;"
 
 #. module: crm_lead_code
 #: model:ir.model.fields,field_description:crm_lead_code.field_crm_lead__code
diff --git a/crm_lead_vat/README.rst b/crm_lead_vat/README.rst
new file mode 100644
index 00000000000..fa1cf75c35d
--- /dev/null
+++ b/crm_lead_vat/README.rst
@@ -0,0 +1,93 @@
+============
+VAT in leads
+============
+
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+   !! This file is generated by oca-gen-addon-readme !!
+   !! changes will be overwritten.                   !!
+   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
+    :target: https://odoo-community.org/page/development-status
+    :alt: Beta
+.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
+    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+    :alt: License: AGPL-3
+.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github
+    :target: https://github.com/OCA/crm/tree/15.0/crm_lead_vat
+    :alt: OCA/crm
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+    :target: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_vat
+    :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
+    :target: https://runbot.odoo-community.org/runbot/111/15.0
+    :alt: Try me on Runbot
+
+|badge1| |badge2| |badge3| |badge4| |badge5| 
+
+This module was written to extend the functionality of CRM leads to support
+setting the VAT identification number (https://en.wikipedia.org/wiki/VAT_identification_number).
+
+**Table of contents**
+
+.. contents::
+   :local:
+
+Usage
+=====
+
+To use this module, you need to:
+
+* Go to *CRM > Leads*.
+* Open a lead.
+* You will see the new field.
+* If you change vat in partner, it change in lead.
+* If you change vat in lead, a warning will show informing you that if you save, vat change in partner.
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/issues>`_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_vat%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+~~~~~~~
+
+* Antiun Ingeniería S.L.
+
+Contributors
+~~~~~~~~~~~~
+
+* Rafael Blasco <rafaelbn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
+
+* `Tecnativa <https://www.tecnativa.com>`_:
+
+  * Stefan Ungureanu
+
+* Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
+
+Maintainers
+~~~~~~~~~~~
+
+This module is maintained by the OCA.
+
+.. image:: https://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: https://odoo-community.org
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/15.0/crm_lead_vat>`_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/crm_lead_vat/__init__.py b/crm_lead_vat/__init__.py
new file mode 100644
index 00000000000..4b76c7b2d5c
--- /dev/null
+++ b/crm_lead_vat/__init__.py
@@ -0,0 +1,3 @@
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+from . import models
diff --git a/crm_lead_vat/__manifest__.py b/crm_lead_vat/__manifest__.py
new file mode 100644
index 00000000000..8bac3a535a2
--- /dev/null
+++ b/crm_lead_vat/__manifest__.py
@@ -0,0 +1,17 @@
+# Copyright 2015 Antiun Ingeniería, S.L.
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+{
+    "name": "VAT in leads",
+    "summary": "Add VAT field to leads",
+    "version": "16.0.1.0.0",
+    "category": "Customer Relationship Management",
+    "website": "https://github.com/OCA/crm",
+    "author": "Antiun Ingeniería S.L., Odoo Community Association (OCA)",
+    "maintainers": ["EmilioPascual"],
+    "license": "AGPL-3",
+    "application": False,
+    "installable": True,
+    "depends": ["crm"],
+    "data": ["views/crm_lead_views.xml"],
+}
diff --git a/crm_lead_vat/i18n/bg.po b/crm_lead_vat/i18n/bg.po
new file mode 100644
index 00000000000..9b0d194b80c
--- /dev/null
+++ b/crm_lead_vat/i18n/bg.po
@@ -0,0 +1,47 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-02 14:15+0000\n"
+"PO-Revision-Date: 2016-03-10 18:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"bg/)\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Следа/Възможност"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
diff --git a/crm_lead_vat/i18n/crm_lead_vat.pot b/crm_lead_vat/i18n/crm_lead_vat.pot
new file mode 100644
index 00000000000..16e4778208a
--- /dev/null
+++ b/crm_lead_vat/i18n/crm_lead_vat.pot
@@ -0,0 +1,43 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# 	* crm_lead_vat
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 15.0\n"
+"Report-Msgid-Bugs-To: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" "
+"title=\"By saving this change, the customer vat number will also be "
+"updated.\" attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid ""
+"Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
diff --git a/crm_lead_vat/i18n/de.po b/crm_lead_vat/i18n/de.po
new file mode 100644
index 00000000000..1e5fe31894d
--- /dev/null
+++ b/crm_lead_vat/i18n/de.po
@@ -0,0 +1,50 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+# Rudolf Schnapka <rs@techno-flex.de>, 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-03-28 02:26+0000\n"
+"PO-Revision-Date: 2017-04-11 14:58+0000\n"
+"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
+"Language-Team: German (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"de/)\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Lead/Chance"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "USt-ID:"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
+"Steueridentifikationsnummer. Die ersten zwei Zeichen stellen den "
+"Länderschlüssel dar."
diff --git a/crm_lead_vat/i18n/es.po b/crm_lead_vat/i18n/es.po
new file mode 100644
index 00000000000..87ac243ca1f
--- /dev/null
+++ b/crm_lead_vat/i18n/es.po
@@ -0,0 +1,50 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+# Carles Antoli <carlesantoli@hotmail.com>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-04-14 03:55+0000\n"
+"PO-Revision-Date: 2016-04-07 15:49+0000\n"
+"Last-Translator: Carles Antoli <carlesantoli@hotmail.com>\n"
+"Language-Team: Spanish (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"es/)\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciativa / Oportunidad"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "NIF"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
+"Número de identificación fiscal. Los 2 primeros caracteres son el código del "
+"país."
diff --git a/crm_lead_vat/i18n/fr.po b/crm_lead_vat/i18n/fr.po
new file mode 100644
index 00000000000..71cf18dd7e9
--- /dev/null
+++ b/crm_lead_vat/i18n/fr.po
@@ -0,0 +1,50 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-03-10 18:52+0000\n"
+"PO-Revision-Date: 2022-09-15 22:07+0000\n"
+"Last-Translator: Claude R Perrin <claude@perrin.it>\n"
+"Language-Team: French (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"fr/)\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 4.3.2\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Piste/Opportunité"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "Num TVA"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
+"Numéro d'identification fiscale ou de TVA. Les 2 premiers caractères sont le "
+"code du pays."
diff --git a/crm_lead_vat/i18n/hr.po b/crm_lead_vat/i18n/hr.po
new file mode 100644
index 00000000000..0cf9184dc0a
--- /dev/null
+++ b/crm_lead_vat/i18n/hr.po
@@ -0,0 +1,49 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+# Ana-Maria Olujić <ana-maria.olujic@slobodni-programi.hr>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-08-15 00:49+0000\n"
+"PO-Revision-Date: 2016-08-19 13:47+0000\n"
+"Last-Translator: Ana-Maria Olujić <ana-maria.olujic@slobodni-programi.hr>\n"
+"Language-Team: Croatian (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"hr/)\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Potencijalni klijent"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "OIB"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr "OIB. Prva 2 slova su oznaka države."
diff --git a/crm_lead_vat/i18n/it.po b/crm_lead_vat/i18n/it.po
new file mode 100644
index 00000000000..3ae73ae3593
--- /dev/null
+++ b/crm_lead_vat/i18n/it.po
@@ -0,0 +1,48 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-04-16 11:11+0000\n"
+"PO-Revision-Date: 2020-01-08 19:13+0000\n"
+"Last-Translator: Sergio Zanchetta <primes2h@gmail.com>\n"
+"Language-Team: Italian (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"it/)\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 3.10\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Contatto/Opportunità"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "P. IVA"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr "Partita IVA. I primi 2 caratteri sono il codice nazione."
diff --git a/crm_lead_vat/i18n/pt_BR.po b/crm_lead_vat/i18n/pt_BR.po
new file mode 100644
index 00000000000..72964e12201
--- /dev/null
+++ b/crm_lead_vat/i18n/pt_BR.po
@@ -0,0 +1,50 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-03-26 09:38+0000\n"
+"PO-Revision-Date: 2019-09-03 03:23+0000\n"
+"Last-Translator: Rodrigo Macedo <rmsolucoeseminformatic4@gmail.com>\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-crm-8-0/"
+"language/pt_BR/)\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 3.8\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Prospector/Oportunidade"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "TIN"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
+"Número de identificação fiscal. Os 2 primeiros caracteres são o código do "
+"país."
diff --git a/crm_lead_vat/i18n/sk.po b/crm_lead_vat/i18n/sk.po
new file mode 100644
index 00000000000..ab895ee7c6f
--- /dev/null
+++ b/crm_lead_vat/i18n/sk.po
@@ -0,0 +1,47 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-12-17 01:26+0000\n"
+"PO-Revision-Date: 2016-03-10 18:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Slovak (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"sk/)\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Iniciatíva/Príležitosť"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
diff --git a/crm_lead_vat/i18n/sl.po b/crm_lead_vat/i18n/sl.po
new file mode 100644
index 00000000000..3af99785013
--- /dev/null
+++ b/crm_lead_vat/i18n/sl.po
@@ -0,0 +1,49 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-03-10 18:52+0000\n"
+"PO-Revision-Date: 2016-03-11 10:47+0000\n"
+"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
+"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-crm-8-0/language/"
+"sl/)\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
+"%100==4 ? 2 : 3);\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "Indic/priložnost"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr "ID za DDV"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr "Davčna identifikacijska številka. Prva 2 znaka sta črki kode države."
diff --git a/crm_lead_vat/i18n/zh_CN.po b/crm_lead_vat/i18n/zh_CN.po
new file mode 100644
index 00000000000..2c60a53f3d7
--- /dev/null
+++ b/crm_lead_vat/i18n/zh_CN.po
@@ -0,0 +1,47 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * crm_lead_vat
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: crm (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-25 01:51+0000\n"
+"PO-Revision-Date: 2016-03-10 18:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-crm-8-0/"
+"language/zh_CN/)\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: crm_lead_vat
+#: model_terms:ir.ui.view,arch_db:crm_lead_vat.crm_lead_view_form
+msgid ""
+"<span class=\"fa fa-exclamation-triangle text-warning oe_edit_only\" title="
+"\"By saving this change, the customer vat number will also be updated.\" "
+"attrs=\"{'invisible': [('partner_vat_update', '=', False)]}\"/>"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model,name:crm_lead_vat.model_crm_lead
+msgid "Lead/Opportunity"
+msgstr "线索/商机"
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__partner_vat_update
+msgid "Partner VAT will Update"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,field_description:crm_lead_vat.field_crm_lead__vat
+msgid "TIN"
+msgstr ""
+
+#. module: crm_lead_vat
+#: model:ir.model.fields,help:crm_lead_vat.field_crm_lead__vat
+msgid "Tax Identification Number. The first 2 characters are the country code."
+msgstr ""
diff --git a/crm_lead_vat/models/__init__.py b/crm_lead_vat/models/__init__.py
new file mode 100644
index 00000000000..f11a18fc4e9
--- /dev/null
+++ b/crm_lead_vat/models/__init__.py
@@ -0,0 +1,3 @@
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+from . import crm_lead
diff --git a/crm_lead_vat/models/crm_lead.py b/crm_lead_vat/models/crm_lead.py
new file mode 100644
index 00000000000..988a86fb676
--- /dev/null
+++ b/crm_lead_vat/models/crm_lead.py
@@ -0,0 +1,84 @@
+# Copyright 2015 Antiun Ingeniería, S.L.
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+from odoo import api, fields, models
+
+
+class Lead(models.Model):
+    _inherit = "crm.lead"
+
+    vat = fields.Char(
+        string="TIN",
+        help="Tax Identification Number. The first 2 characters are the "
+        "country code.",
+        compute="_compute_vat",
+        inverse="_inverse_vat",
+        readonly=False,
+        store=True,
+    )
+    partner_vat_update = fields.Boolean(
+        "Partner VAT will Update", compute="_compute_partner_vat_update"
+    )
+
+    @api.depends("partner_id.vat", "partner_id.commercial_partner_id.vat")
+    def _compute_vat(self):
+        for lead in self:
+            if (
+                lead.partner_id.commercial_partner_id.vat
+                and lead._get_partner_vat_update()
+            ):
+                lead.vat = lead.partner_id.commercial_partner_id.vat
+            elif lead.partner_id.vat and lead._get_partner_vat_update():
+                lead.vat = lead.partner_id.vat
+
+    def _inverse_vat(self):
+        for lead in self:
+            if lead._get_partner_vat_update():
+                if lead.partner_id.commercial_partner_id:
+                    lead.partner_id.commercial_partner_id.vat = lead.vat
+                else:
+                    lead.partner_id.vat = lead.vat
+
+    @api.depends("vat", "partner_id")
+    def _compute_partner_vat_update(self):
+        for lead in self:
+            lead.partner_vat_update = lead._get_partner_vat_update()
+
+    def _get_partner_vat_update(self):
+        """Calculate if we should write the vat on the related partner. When
+        the vat of the lead / partner is an empty string, we force it to False
+        to not propagate a False on an empty string.
+
+        Done in a separate method so it can be used in both ribbon and inverse
+        and compute of vat update methods.
+        """
+        self.ensure_one()
+        if (
+            self.partner_id.commercial_partner_id
+            and self.vat != self.partner_id.commercial_partner_id.vat
+        ):
+            return self.vat != self.partner_id.commercial_partner_id.vat
+        elif self.partner_id and self.vat != self.partner_id.vat:
+            return self.vat != self.partner_id.vat
+        return False
+
+    def _prepare_customer_values(self, partner_name, is_company=False, parent_id=False):
+        """Add VAT to partner."""
+        res = super(Lead, self)._prepare_customer_values(
+            partner_name, is_company, parent_id
+        )
+        res.update(
+            {
+                "vat": self.vat,
+            }
+        )
+        return res
+
+    def _prepare_values_from_partner(self, partner):
+        """Recover VAT from partner if available."""
+        result = super(Lead, self)._prepare_values_from_partner(partner)
+        if not partner:
+            return result
+        if partner.vat:
+            result["vat"] = partner.vat
+        return result
diff --git a/crm_lead_vat/readme/CONTRIBUTORS.rst b/crm_lead_vat/readme/CONTRIBUTORS.rst
new file mode 100644
index 00000000000..42a50e801fb
--- /dev/null
+++ b/crm_lead_vat/readme/CONTRIBUTORS.rst
@@ -0,0 +1,9 @@
+* Rafael Blasco <rafaelbn@antiun.com>
+* Jairo Llopis <yajo.sk8@gmail.com>
+* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
+
+* `Tecnativa <https://www.tecnativa.com>`_:
+
+  * Stefan Ungureanu
+
+* Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
diff --git a/crm_lead_vat/readme/DESCRIPTION.rst b/crm_lead_vat/readme/DESCRIPTION.rst
new file mode 100644
index 00000000000..ac79a5e9bc0
--- /dev/null
+++ b/crm_lead_vat/readme/DESCRIPTION.rst
@@ -0,0 +1,2 @@
+This module was written to extend the functionality of CRM leads to support
+setting the VAT identification number (https://en.wikipedia.org/wiki/VAT_identification_number).
diff --git a/crm_lead_vat/readme/USAGE.rst b/crm_lead_vat/readme/USAGE.rst
new file mode 100644
index 00000000000..f2c935f8ad5
--- /dev/null
+++ b/crm_lead_vat/readme/USAGE.rst
@@ -0,0 +1,7 @@
+To use this module, you need to:
+
+* Go to *CRM > Leads*.
+* Open a lead.
+* You will see the new field.
+* If you change vat in partner, it change in lead.
+* If you change vat in lead, a warning will show informing you that if you save, vat change in partner.
diff --git a/crm_lead_vat/static/description/icon.png b/crm_lead_vat/static/description/icon.png
new file mode 100644
index 00000000000..3a0328b516c
Binary files /dev/null and b/crm_lead_vat/static/description/icon.png differ
diff --git a/crm_lead_vat/static/description/index.html b/crm_lead_vat/static/description/index.html
new file mode 100644
index 00000000000..c24fc3e5d42
--- /dev/null
+++ b/crm_lead_vat/static/description/index.html
@@ -0,0 +1,439 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
+<title>VAT in leads</title>
+<style type="text/css">
+
+/*
+:Author: David Goodger (goodger@python.org)
+:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
+:Copyright: This stylesheet has been placed in the public domain.
+
+Default cascading style sheet for the HTML output of Docutils.
+
+See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
+customize this style sheet.
+*/
+
+/* used to remove borders from tables and images */
+.borderless, table.borderless td, table.borderless th {
+  border: 0 }
+
+table.borderless td, table.borderless th {
+  /* Override padding for "table.docutils td" with "! important".
+     The right padding separates the table cells. */
+  padding: 0 0.5em 0 0 ! important }
+
+.first {
+  /* Override more specific margin styles with "! important". */
+  margin-top: 0 ! important }
+
+.last, .with-subtitle {
+  margin-bottom: 0 ! important }
+
+.hidden {
+  display: none }
+
+.subscript {
+  vertical-align: sub;
+  font-size: smaller }
+
+.superscript {
+  vertical-align: super;
+  font-size: smaller }
+
+a.toc-backref {
+  text-decoration: none ;
+  color: black }
+
+blockquote.epigraph {
+  margin: 2em 5em ; }
+
+dl.docutils dd {
+  margin-bottom: 0.5em }
+
+object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
+  overflow: hidden;
+}
+
+/* Uncomment (and remove this text!) to get bold-faced definition list terms
+dl.docutils dt {
+  font-weight: bold }
+*/
+
+div.abstract {
+  margin: 2em 5em }
+
+div.abstract p.topic-title {
+  font-weight: bold ;
+  text-align: center }
+
+div.admonition, div.attention, div.caution, div.danger, div.error,
+div.hint, div.important, div.note, div.tip, div.warning {
+  margin: 2em ;
+  border: medium outset ;
+  padding: 1em }
+
+div.admonition p.admonition-title, div.hint p.admonition-title,
+div.important p.admonition-title, div.note p.admonition-title,
+div.tip p.admonition-title {
+  font-weight: bold ;
+  font-family: sans-serif }
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title, .code .error {
+  color: red ;
+  font-weight: bold ;
+  font-family: sans-serif }
+
+/* Uncomment (and remove this text!) to get reduced vertical space in
+   compound paragraphs.
+div.compound .compound-first, div.compound .compound-middle {
+  margin-bottom: 0.5em }
+
+div.compound .compound-last, div.compound .compound-middle {
+  margin-top: 0.5em }
+*/
+
+div.dedication {
+  margin: 2em 5em ;
+  text-align: center ;
+  font-style: italic }
+
+div.dedication p.topic-title {
+  font-weight: bold ;
+  font-style: normal }
+
+div.figure {
+  margin-left: 2em ;
+  margin-right: 2em }
+
+div.footer, div.header {
+  clear: both;
+  font-size: smaller }
+
+div.line-block {
+  display: block ;
+  margin-top: 1em ;
+  margin-bottom: 1em }
+
+div.line-block div.line-block {
+  margin-top: 0 ;
+  margin-bottom: 0 ;
+  margin-left: 1.5em }
+
+div.sidebar {
+  margin: 0 0 0.5em 1em ;
+  border: medium outset ;
+  padding: 1em ;
+  background-color: #ffffee ;
+  width: 40% ;
+  float: right ;
+  clear: right }
+
+div.sidebar p.rubric {
+  font-family: sans-serif ;
+  font-size: medium }
+
+div.system-messages {
+  margin: 5em }
+
+div.system-messages h1 {
+  color: red }
+
+div.system-message {
+  border: medium outset ;
+  padding: 1em }
+
+div.system-message p.system-message-title {
+  color: red ;
+  font-weight: bold }
+
+div.topic {
+  margin: 2em }
+
+h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
+h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
+  margin-top: 0.4em }
+
+h1.title {
+  text-align: center }
+
+h2.subtitle {
+  text-align: center }
+
+hr.docutils {
+  width: 75% }
+
+img.align-left, .figure.align-left, object.align-left, table.align-left {
+  clear: left ;
+  float: left ;
+  margin-right: 1em }
+
+img.align-right, .figure.align-right, object.align-right, table.align-right {
+  clear: right ;
+  float: right ;
+  margin-left: 1em }
+
+img.align-center, .figure.align-center, object.align-center {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+table.align-center {
+  margin-left: auto;
+  margin-right: auto;
+}
+
+.align-left {
+  text-align: left }
+
+.align-center {
+  clear: both ;
+  text-align: center }
+
+.align-right {
+  text-align: right }
+
+/* reset inner alignment in figures */
+div.align-right {
+  text-align: inherit }
+
+/* div.align-center * { */
+/*   text-align: left } */
+
+.align-top    {
+  vertical-align: top }
+
+.align-middle {
+  vertical-align: middle }
+
+.align-bottom {
+  vertical-align: bottom }
+
+ol.simple, ul.simple {
+  margin-bottom: 1em }
+
+ol.arabic {
+  list-style: decimal }
+
+ol.loweralpha {
+  list-style: lower-alpha }
+
+ol.upperalpha {
+  list-style: upper-alpha }
+
+ol.lowerroman {
+  list-style: lower-roman }
+
+ol.upperroman {
+  list-style: upper-roman }
+
+p.attribution {
+  text-align: right ;
+  margin-left: 50% }
+
+p.caption {
+  font-style: italic }
+
+p.credits {
+  font-style: italic ;
+  font-size: smaller }
+
+p.label {
+  white-space: nowrap }
+
+p.rubric {
+  font-weight: bold ;
+  font-size: larger ;
+  color: maroon ;
+  text-align: center }
+
+p.sidebar-title {
+  font-family: sans-serif ;
+  font-weight: bold ;
+  font-size: larger }
+
+p.sidebar-subtitle {
+  font-family: sans-serif ;
+  font-weight: bold }
+
+p.topic-title {
+  font-weight: bold }
+
+pre.address {
+  margin-bottom: 0 ;
+  margin-top: 0 ;
+  font: inherit }
+
+pre.literal-block, pre.doctest-block, pre.math, pre.code {
+  margin-left: 2em ;
+  margin-right: 2em }
+
+pre.code .ln { color: grey; } /* line numbers */
+pre.code, code { background-color: #eeeeee }
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
+
+span.classifier {
+  font-family: sans-serif ;
+  font-style: oblique }
+
+span.classifier-delimiter {
+  font-family: sans-serif ;
+  font-weight: bold }
+
+span.interpreted {
+  font-family: sans-serif }
+
+span.option {
+  white-space: nowrap }
+
+span.pre {
+  white-space: pre }
+
+span.problematic {
+  color: red }
+
+span.section-subtitle {
+  /* font-size relative to parent (h1..h6 element) */
+  font-size: 80% }
+
+table.citation {
+  border-left: solid 1px gray;
+  margin-left: 1px }
+
+table.docinfo {
+  margin: 2em 4em }
+
+table.docutils {
+  margin-top: 0.5em ;
+  margin-bottom: 0.5em }
+
+table.footnote {
+  border-left: solid 1px black;
+  margin-left: 1px }
+
+table.docutils td, table.docutils th,
+table.docinfo td, table.docinfo th {
+  padding-left: 0.5em ;
+  padding-right: 0.5em ;
+  vertical-align: top }
+
+table.docutils th.field-name, table.docinfo th.docinfo-name {
+  font-weight: bold ;
+  text-align: left ;
+  white-space: nowrap ;
+  padding-left: 0 }
+
+/* "booktabs" style (no vertical lines) */
+table.docutils.booktabs {
+  border: 0px;
+  border-top: 2px solid;
+  border-bottom: 2px solid;
+  border-collapse: collapse;
+}
+table.docutils.booktabs * {
+  border: 0px;
+}
+table.docutils.booktabs th {
+  border-bottom: thin solid;
+  text-align: left;
+}
+
+h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
+h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
+  font-size: 100% }
+
+ul.auto-toc {
+  list-style-type: none }
+
+</style>
+</head>
+<body>
+<div class="document" id="vat-in-leads">
+<h1 class="title">VAT in leads</h1>
+
+<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! This file is generated by oca-gen-addon-readme !!
+!! changes will be overwritten.                   !!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/crm/tree/15.0/crm_lead_vat"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_lead_vat"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/111/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
+<p>This module was written to extend the functionality of CRM leads to support
+setting the VAT identification number (<a class="reference external" href="https://en.wikipedia.org/wiki/VAT_identification_number">https://en.wikipedia.org/wiki/VAT_identification_number</a>).</p>
+<p><strong>Table of contents</strong></p>
+<div class="contents local topic" id="contents">
+<ul class="simple">
+<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
+<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
+<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
+<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
+<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
+<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="section" id="usage">
+<h1><a class="toc-backref" href="#id1">Usage</a></h1>
+<p>To use this module, you need to:</p>
+<ul class="simple">
+<li>Go to <em>CRM &gt; Leads</em>.</li>
+<li>Open a lead.</li>
+<li>You will see the new field.</li>
+<li>If you change vat in partner, it change in lead.</li>
+<li>If you change vat in lead, a warning will show informing you that if you save, vat change in partner.</li>
+</ul>
+</div>
+<div class="section" id="bug-tracker">
+<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
+<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/crm/issues">GitHub Issues</a>.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_vat%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
+<p>Do not contact contributors directly about support or help with technical issues.</p>
+</div>
+<div class="section" id="credits">
+<h1><a class="toc-backref" href="#id3">Credits</a></h1>
+<div class="section" id="authors">
+<h2><a class="toc-backref" href="#id4">Authors</a></h2>
+<ul class="simple">
+<li>Antiun Ingeniería S.L.</li>
+</ul>
+</div>
+<div class="section" id="contributors">
+<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
+<ul class="simple">
+<li>Rafael Blasco &lt;<a class="reference external" href="mailto:rafaelbn&#64;antiun.com">rafaelbn&#64;antiun.com</a>&gt;</li>
+<li>Jairo Llopis &lt;<a class="reference external" href="mailto:yajo.sk8&#64;gmail.com">yajo.sk8&#64;gmail.com</a>&gt;</li>
+<li>Tharathip Chaweewongphan &lt;<a class="reference external" href="mailto:tharathipc&#64;ecosoft.co.th">tharathipc&#64;ecosoft.co.th</a>&gt;</li>
+<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
+<li>Stefan Ungureanu</li>
+</ul>
+</li>
+<li>Emilio Pascual (<a class="reference external" href="https://www.moduon.team/">Moduon</a>)</li>
+</ul>
+</div>
+<div class="section" id="maintainers">
+<h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
+<p>This module is maintained by the OCA.</p>
+<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
+<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.</p>
+<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/15.0/crm_lead_vat">OCA/crm</a> project on GitHub.</p>
+<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/crm_lead_vat/views/crm_lead_views.xml b/crm_lead_vat/views/crm_lead_views.xml
new file mode 100644
index 00000000000..119c1ca7395
--- /dev/null
+++ b/crm_lead_vat/views/crm_lead_views.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<odoo>
+    <record id="crm_lead_view_form" model="ir.ui.view">
+        <field name="model">crm.lead</field>
+        <field name="inherit_id" ref="crm.crm_lead_view_form" />
+        <field name="arch" type="xml">
+            <xpath
+                expr="//group/group[@name='lead_partner']/field[@name='partner_id']"
+                position="after"
+            >
+                <label for="vat" class="oe_inline" />
+                <div class="o_row o_row_readonly">
+                    <field name="partner_vat_update" invisible="1" />
+                    <field name="vat" />
+                    <span
+                        class="fa fa-exclamation-triangle text-warning oe_edit_only"
+                        title="By saving this change, the customer vat number will also be updated."
+                        attrs="{'invisible': [('partner_vat_update', '=', False)]}"
+                    />
+                </div>
+            </xpath>
+            <xpath
+                expr="//group/group[@name='opportunity_partner']/field[@name='partner_id']"
+                position="after"
+            >
+                <label for="vat" class="oe_inline" />
+                <div class="o_row o_row_readonly">
+                    <field name="partner_vat_update" invisible="1" />
+                    <field name="vat" />
+                    <span
+                        class="fa fa-exclamation-triangle text-warning oe_edit_only"
+                        title="By saving this change, the customer vat number will also be updated."
+                        attrs="{'invisible': [('partner_vat_update', '=', False)]}"
+                    />
+                </div>
+            </xpath>
+        </field>
+    </record>
+</odoo>
diff --git a/crm_phonecall/i18n/es.po b/crm_phonecall/i18n/es.po
index b5a9d7a02bb..38af16b5179 100644
--- a/crm_phonecall/i18n/es.po
+++ b/crm_phonecall/i18n/es.po
@@ -9,8 +9,8 @@ msgstr ""
 "Project-Id-Version: Odoo Server 10.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-12-04 15:47+0000\n"
-"PO-Revision-Date: 2023-06-06 14:10+0000\n"
-"Last-Translator: luis-ron <luis.ron@sygel.es>\n"
+"PO-Revision-Date: 2023-08-02 14:10+0000\n"
+"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
 "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
@@ -604,7 +604,7 @@ msgstr "Fecha de apertura"
 #. module: crm_phonecall
 #: model:ir.model.fields.selection,name:crm_phonecall.selection__crm_phonecall__direction__out
 msgid "Out"
-msgstr ""
+msgstr "Fuera"
 
 #. module: crm_phonecall
 #: model_terms:ir.ui.view,arch_db:crm_phonecall.view_crm_case_phonecalls_filter
@@ -818,7 +818,6 @@ msgstr "Origen"
 
 #. module: crm_phonecall
 #: model_terms:ir.ui.view,arch_db:crm_phonecall.view_crm_case_phonecalls_filter
-#, fuzzy
 msgid "State"
 msgstr "Estado"
 
diff --git a/setup/crm_lead_vat/odoo/addons/crm_lead_vat b/setup/crm_lead_vat/odoo/addons/crm_lead_vat
new file mode 120000
index 00000000000..f05754a7d7c
--- /dev/null
+++ b/setup/crm_lead_vat/odoo/addons/crm_lead_vat
@@ -0,0 +1,1 @@
+../../../../crm_lead_vat
\ No newline at end of file
diff --git a/setup/crm_lead_vat/setup.py b/setup/crm_lead_vat/setup.py
new file mode 100644
index 00000000000..28c57bb6403
--- /dev/null
+++ b/setup/crm_lead_vat/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+    setup_requires=['setuptools-odoo'],
+    odoo_addon=True,
+)


Test patch:
diff --git a/crm_lead_vat/tests/__init__.py b/crm_lead_vat/tests/__init__.py
new file mode 100644
index 00000000000..c6e811f5206
--- /dev/null
+++ b/crm_lead_vat/tests/__init__.py
@@ -0,0 +1,3 @@
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+from . import test_lead
diff --git a/crm_lead_vat/tests/test_lead.py b/crm_lead_vat/tests/test_lead.py
new file mode 100644
index 00000000000..eb8af085f4f
--- /dev/null
+++ b/crm_lead_vat/tests/test_lead.py
@@ -0,0 +1,38 @@
+# Copyright 2015 Antiun Ingeniería, S.L.
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
+
+from odoo.tests.common import TransactionCase
+
+
+class LeadCase(TransactionCase):
+    def setUp(self):
+        super(LeadCase, self).setUp()
+        self.lead = self.env["crm.lead"].create(
+            {"name": __file__, "partner_name": "HÎ"}
+        )
+        self.partner = self.env["res.partner"].create({"name": __file__})
+        self.test_field = "ES98765432M"
+        self.test2_field = "11111111H"
+
+    def test_transfered_values(self):
+        """Field gets transfered when creating partner."""
+        self.lead.vat = self.test_field
+        self.lead._handle_partner_assignment()
+        self.assertEqual(self.lead.partner_id.vat, self.test_field)
+
+    def test_onchange_partner_id(self):
+        """Lead gets VAT from partner when linked to it."""
+        self.partner.vat = self.test_field
+        result = self.lead._prepare_values_from_partner(self.lead.partner_id)
+        self.assertNotIn("vat", result)
+        self.lead.partner_id = self.partner
+        result = self.lead._prepare_values_from_partner(self.lead.partner_id)
+        self.assertEqual(result["vat"], self.test_field)
+
+    def test_onchange_vat(self):
+        """First change vat in partner, after it change in lead"""
+        self.lead.partner_id = self.partner
+        self.partner.vat = self.test_field
+        self.assertEqual(self.partner.vat, self.lead.vat)
+        self.lead.vat = self.test2_field
+        self.assertEqual(self.partner.vat, self.lead.vat)