Browse Source
[MIG] partner_identification: Migration to 12.0
[MIG] partner_identification: Migration to 12.0
[FIX] Tests [FIX] data sequence Fix openerp to odoo in comment [REM] at_install, post_install [ADD] Model descriptions [REM] Extra spaces14.0
tarteo
6 years ago
committed by
Tran Thanh Phuc
11 changed files with 115 additions and 40 deletions
-
78partner_identification/README.rst
-
8partner_identification/__manifest__.py
-
3partner_identification/models/res_partner_id_category.py
-
1partner_identification/models/res_partner_id_number.py
-
17partner_identification/readme/CONFIGURE.rst
-
8partner_identification/readme/CONTRIBUTORS.rst
-
10partner_identification/readme/DESCRIPTION.rst
-
2partner_identification/readme/ROADMAP.rst
-
19partner_identification/readme/USAGE.rst
-
4partner_identification/tests/test_partner_identification.py
-
5partner_identification/tests/test_res_partner.py
@ -0,0 +1,17 @@ |
|||||
|
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, |
||||
|
}) |
@ -0,0 +1,8 @@ |
|||||
|
* Antonio Espinosa <antonio.espinosa@tecnativa.com> |
||||
|
* Ferdinand Gassauer <office@chrcar.at> |
||||
|
* Gerhard Könighofer <gerhard.koenighofer@swing-system.com> |
||||
|
* Laurent Mignon <laurent.mignon@acsone.eu> |
||||
|
* Jairo Llopis <jairo.llopis@tecnativa.com> |
||||
|
* Dave Lasley <dave@laslabs.com> |
||||
|
* Simone Orsi <simone.orsi@camptocamp.com> |
||||
|
* Dennis Sluijk <d.sluijk@onestein.nl> |
@ -0,0 +1,10 @@ |
|||||
|
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 |
@ -0,0 +1,2 @@ |
|||||
|
* 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. |
@ -0,0 +1,19 @@ |
|||||
|
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 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue