Skip to content

Commit

Permalink
Merge PR #530 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 24, 2023
2 parents 9da26ac + 3d05084 commit 4b2c916
Show file tree
Hide file tree
Showing 25 changed files with 1,300 additions and 0 deletions.
108 changes: 108 additions & 0 deletions crm_lead_vat/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
============
VAT in leads
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:33552375e7cb8f3b3a8e51ce8dce089517d2ae96f8c5804225d5c8f561250aa6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/crm-17-0-crm_lead_vat
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=17.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_vat%0Aversion:%2017.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 <[email protected]>
- Jairo Llopis <[email protected]>
- Tharathip Chaweewongphan <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Stefan Ungureanu

- Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
- `APSL <https://apsl.tech>`__:

- Antoni Marroig

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.

.. |maintainer-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px
:target: https://github.com/EmilioPascual
:alt: EmilioPascual

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-EmilioPascual|

This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/17.0/crm_lead_vat>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions crm_lead_vat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
17 changes: 17 additions & 0 deletions crm_lead_vat/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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": "17.0.1.0.1",
"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"],
}
47 changes: 47 additions & 0 deletions crm_lead_vat/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -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 ""
43 changes: 43 additions & 0 deletions crm_lead_vat/i18n/crm_lead_vat.pot
Original file line number Diff line number Diff line change
@@ -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 16.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 ""
50 changes: 50 additions & 0 deletions crm_lead_vat/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_vat
#
# Translators:
# Rudolf Schnapka <[email protected]>, 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 <[email protected]>\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."
54 changes: 54 additions & 0 deletions crm_lead_vat/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_vat
#
# Translators:
# Carles Antoli <[email protected]>, 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: 2023-09-03 13:42+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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"
"X-Generator: Weblate 4.17\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 ""
"<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)]}\"/>"

#. 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 "IVA del socio se actualizará"

#. 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."
50 changes: 50 additions & 0 deletions crm_lead_vat/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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."
Loading

0 comments on commit 4b2c916

Please sign in to comment.