Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [MIG] partner_identification #1397

Merged
merged 54 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
959c83b
[IMP] Rename partner_identifiers -> partner_identification
lmignon Mar 16, 2016
bce35eb
partner_identification: several fix/imp
lmignon Mar 16, 2016
e8931a0
[FIX] partner_identification: prevent integrity error on delete ID
lmignon May 30, 2016
f169ea7
[ADD] partner_identification: sales_team dep
jjscarafia Nov 2, 2016
79e45eb
[FIX] partner_identification: pylint
jjscarafia Nov 3, 2016
76931f9
[IMP] partner_identification: Add context override (#373)
lasley Jan 24, 2017
ad0b1ac
[10.0][IMP] partner_identification: Add field computation and inverse…
lasley May 30, 2017
980bb7b
[FIX] partner_identification: Infinite loop in search (#436)
lasley Jun 8, 2017
2b914b5
OCA Transbot updated translations from Transifex
oca-transbot Mar 20, 2016
6ad8d96
[11.0][MIG] partner_identification
simahawk Nov 29, 2017
11c00d2
partner_identification: fix/imp tests on res.partner
simahawk Nov 29, 2017
f6ce3e0
[UPD] Update partner_identification.pot
oca-travis Jun 22, 2018
f10d3a1
[MIG] partner_identification: Migration to 12.0
tarteo Oct 24, 2018
365ba82
[UPD] README.rst
OCA-git-bot Dec 14, 2018
8c5b9f8
[UPD] Update partner_identification.pot
oca-travis Dec 14, 2018
f9de93c
Translated using Weblate (Italian)
primes2h Dec 23, 2018
885ac01
Update translation files
oca-transbot Dec 29, 2018
b03ab42
[UPD] Update partner_identification.pot
oca-travis Jan 25, 2019
999f0a0
Update translation files
oca-transbot Jan 27, 2019
b36c2e4
Translated using Weblate (Spanish)
mvrodriguez Mar 1, 2019
74b783c
[ADD] icon.png
OCA-git-bot Apr 2, 2019
eaa7a5e
[UPD] README.rst
OCA-git-bot Jul 29, 2019
8cee8ae
[REF] partner_identification: Black python code
Nov 26, 2019
2a88a90
[MIG] partner_identification: Migration to 13.0
Nov 26, 2019
b912e98
[UPD] Update partner_identification.pot
oca-travis Feb 19, 2020
c719a96
[UPD] README.rst
OCA-git-bot Feb 19, 2020
8557e24
[FIX] make _compute_identification() to assign a value no matter what
ntsirintanis Feb 4, 2020
9df4b10
Update translation files
oca-transbot Feb 19, 2020
f46689b
pre-commit update
OCA-git-bot Mar 14, 2020
1ad18fc
Translated using Weblate (Chinese (Simplified))
dong-z Mar 21, 2020
a4edf2e
[UPD] README.rst
OCA-git-bot Mar 29, 2020
fdb8b28
[FIX][13.0] partner_identification id number check
TDu Oct 7, 2020
f0076df
partner_identification 13.0.1.0.1
OCA-git-bot Oct 12, 2020
19253d6
[FIX][13.0] partner_identification: Add menu for Partner ID Numbers
ajaniszewska-dev Oct 14, 2020
a09e658
[UPD] Update partner_identification.pot
oca-travis Oct 22, 2020
821afd4
partner_identification 13.0.1.1.0
OCA-git-bot Oct 22, 2020
4ae3466
Update translation files
oca-transbot Oct 22, 2020
41a0379
[13.0][IMP] Add missing field to ID Numbers tree view
ajaniszewska-dev Oct 27, 2020
a5ffd5b
partner_identification 13.0.1.2.0
OCA-git-bot Oct 28, 2020
48881ac
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 8, 2020
9d5d37a
Translated using Weblate (Dutch)
bosd Dec 13, 2020
9cfd14f
[IMP] partner_identification: black, isort, prettier
phuctranfxvn Feb 12, 2021
ac88726
[MIG] partner_identification: Migration to 14.0
phuctranfxvn Feb 12, 2021
7567533
[IMP] partner_identification: Add python validation, improve view and…
phuctranfxvn Feb 13, 2021
495097b
[FIX] partner_identification: Do not validate number if validation co…
phuctranfxvn Feb 23, 2021
3ed4268
[14.0][IMP] Added the field 'color' to partner_id_category.
Chanakya-OSI Aug 6, 2021
033e3be
Translated using Weblate (Portuguese (Portugal))
educasilva Oct 26, 2021
370380d
partner_identification 14.0.1.3.0
OCA-git-bot Nov 1, 2021
61b080a
Translated using Weblate (Portuguese (Portugal))
pedrocs-exo Nov 25, 2021
296428a
Translated using Weblate (Portuguese)
pedrocs-exo Dec 20, 2021
bfaf9e5
Translated using Weblate (Italian)
rbellanova Feb 16, 2022
b8ce97c
Translated using Weblate (Italian)
rbellanova Mar 14, 2022
871035c
[IMP] $MODULE: black, isort, prettier
marielejeune Nov 9, 2022
48069ed
[MIG] partner_identification: Migration to 16.0
marielejeune Nov 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 153 additions & 0 deletions partner_identification/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
==============================
Partner Identification Numbers
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/16.0/partner_identification
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_identification
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/16.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to manage all sort of identification numbers
and certificates which are assigned to a partner (company or individual)
and vary from country to country.

* Commercial register
* VAT ID
* Fiscal ID's
* Membership numbers
* Driver license
* etc

**Table of contents**

.. contents::
:local:

Configuration
=============

Configure all ID types you need in Contacts > Configuration > Partner ID Categories.
For example, we create a category 'Driver License':

Name:
Name of this ID type. For example, 'Driver License'
Code:
Code, abbreviation or acronym of this ID type. For example, 'driver_license'
Python validation code:
Optional python code called to validate ID numbers of this ID type. This functionality can be
overridden by setting ``id_no_validate`` to ``True`` in the context, such as:

.. code-block:: python

partner.with_context(id_no_validate=True).write({
'name': 'Bad Value',
'category_id': self.env.ref('id_category_only_numerics').id,
})

Usage
=====

In partner form you will see another tab called 'ID Numbers'. You can add
any IDs to this partner, defining:

Category:
ID type defined in configuration. For example, Driver License
ID Number:
The ID itself. For example, Driver License number of this person
Issued by:
Another partner, who issued this ID. For example, Traffic National Institution
Place of Issuance:
The place where the ID has been issued. For example the country for passports and visa
Valid from:
Issued date. For example, date when person approved his driving exam, 21/10/2009
Valid until:
Expiration date. For example, date when person needs to renew his driver license, 21/10/2019
Status:
ID status. For example new/to renew/expired
Notes:
Any further information related with this ID. For example, vehicle types this person can drive

Known issues / Roadmap
======================

* If you want to search a partner by ID you will use advance search form.
You can't search by issuer, valid dates, category or notes.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/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/partner-contact/issues/new?body=module:%20partner_identification%0Aversion:%2016.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
~~~~~~~

* ChriCar Beteiligungs- und Beratungs- GmbH
* Tecnativa
* Camptocamp
* ACSONE SA/NV
* LasLabs
* Onestein

Contributors
~~~~~~~~~~~~

* Antonio Espinosa <[email protected]>
* Ferdinand Gassauer <[email protected]>
* Gerhard Könighofer <[email protected]>
* Laurent Mignon <[email protected]>
* Jairo Llopis <[email protected]>
* Dave Lasley <[email protected]>
* Simone Orsi <[email protected]>
* Dennis Sluijk <[email protected]>
* Phuc Tran Thanh <[email protected]>
* Marie Lejeune <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Camptocamp

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/partner-contact <https://github.com/OCA/partner-contact/tree/16.0/partner_identification>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions partner_identification/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
30 changes: 30 additions & 0 deletions partner_identification/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2004-2010 Tiny SPRL http://tiny.be
# Copyright 2010-2012 ChriCar Beteiligungs- und Beratungs- GmbH
# http://www.camptocamp.at
# Copyright 2015 Antiun Ingenieria, SL (Madrid, Spain)
# http://www.antiun.com
# Antonio Espinosa <[email protected]>
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Partner Identification Numbers",
"category": "Customer Relationship Management",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["contacts"],
"data": [
"security/ir.model.access.csv",
"views/res_partner_id_category_view.xml",
"views/res_partner_id_number_view.xml",
"views/res_partner_view.xml",
],
"author": "ChriCar Beteiligungs- und Beratungs- GmbH,"
"Tecnativa,"
"Camptocamp,"
"ACSONE SA/NV,"
"LasLabs,"
"Onestein,"
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"development_status": "Production/Stable",
}
Loading