gilles
7 years ago
committed by
BT-aestebanez
8 changed files with 57 additions and 43 deletions
-
5partner_identification_gln/README.rst
-
3partner_identification_gln/__init__.py
-
6partner_identification_gln/__manifest__.py
-
28partner_identification_gln/data/partner_identification_gln.xml
-
4partner_identification_gln/models/__init__.py
-
7partner_identification_gln/models/partner.py
-
4partner_identification_gln/tests/__init__.py
-
43partner_identification_gln/tests/test_gln.py
@ -1,2 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import models |
@ -1,13 +1,13 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Acsone S.A. |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
# Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
{ |
|||
'name': 'Partner Identification Gln', |
|||
'summary': """ |
|||
This addon extends "Partner Identification Numbers" |
|||
to provide a number category for GLN registration""", |
|||
'version': '8.0.1.0.0', |
|||
'version': '10.0.1.0.0', |
|||
'license': 'AGPL-3', |
|||
'author': 'Acsone S.A.,Odoo Community Association (OCA)', |
|||
'website': 'https://www.acsone.eu', |
@ -1,15 +1,15 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record model="res.partner.id_category" id="partner_identification_gln_number_category"> |
|||
<field name="name">GLN Identification Number</field> |
|||
<field name="code">gln_id_number</field> |
|||
<field name="validation_code"><![CDATA[failed = self.validate_res_partner_gln(id_number)]]></field> |
|||
</record> |
|||
<record model="res.partner.id_category" id="partner_identification_gcp_number_category"> |
|||
<field name="name">GCP Identification Number</field> |
|||
<field name="code">gcp_id_number</field> |
|||
<field name="validation_code"><![CDATA[failed = self.validate_res_partner_gcp(id_number)]]></field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<!-- Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>) |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> |
|||
<odoo> |
|||
<record model="res.partner.id_category" id="partner_identification_gln_number_category"> |
|||
<field name="name">GLN Identification Number</field> |
|||
<field name="code">gln_id_number</field> |
|||
<field name="validation_code"><![CDATA[failed = self.validate_res_partner_gln(id_number)]]></field> |
|||
</record> |
|||
<record model="res.partner.id_category" id="partner_identification_gcp_number_category"> |
|||
<field name="name">GCP Identification Number</field> |
|||
<field name="code">gcp_id_number</field> |
|||
<field name="validation_code"><![CDATA[failed = self.validate_res_partner_gcp(id_number)]]></field> |
|||
</record> |
|||
</odoo> |
@ -1,5 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Acsone S.A. |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
# Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import partner |
@ -1,5 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2016 Acsone S.A. |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
# Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import test_gln |
Write
Preview
Loading…
Cancel
Save
Reference in new issue