From d27aa392f21c812f8a28f8387e1df8db45028ec9 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Mon, 18 Apr 2016 19:20:01 +0200 Subject: [PATCH] partner_ref_unique addon and change description icon --- partner_ref_unique/README.rst | 34 ++++++++++++++++++ partner_ref_unique/__init__.py | 5 +++ partner_ref_unique/__openerp__.py | 30 ++++++++++++++++ partner_ref_unique/models/__init__.py | 6 ++++ partner_ref_unique/models/res_company.py | 16 +++++++++ partner_ref_unique/models/res_partner.py | 31 ++++++++++++++++ .../static/description/icon.png | Bin 0 -> 11429 bytes partner_ref_unique/views/res_company_view.xml | 23 ++++++++++++ 8 files changed, 145 insertions(+) create mode 100644 partner_ref_unique/README.rst create mode 100644 partner_ref_unique/__init__.py create mode 100644 partner_ref_unique/__openerp__.py create mode 100644 partner_ref_unique/models/__init__.py create mode 100644 partner_ref_unique/models/res_company.py create mode 100644 partner_ref_unique/models/res_partner.py create mode 100644 partner_ref_unique/static/description/icon.png create mode 100644 partner_ref_unique/views/res_company_view.xml diff --git a/partner_ref_unique/README.rst b/partner_ref_unique/README.rst new file mode 100644 index 000000000..7a8502323 --- /dev/null +++ b/partner_ref_unique/README.rst @@ -0,0 +1,34 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================== +Partner unique reference +======================== + +Add an unique constraint to partner ref field + +Credits +======= + +Contributors +------------ + +* Antonio Espinosa + +Maintainer +---------- + +.. image:: http://www.antiun.com/images/logo-b.png + :alt: Antiun Ingeniería S.L. + :target: http://www.antiun.com + +This module is maintained by Antiun Ingeniería S.L. + +Antiun Ingeniería S.L. is an IT consulting company especialized in Odoo +and provides Odoo development, install, maintenance and hosting +services. + +To contribute to this module, please visit https://github.com/Antiun +or contact us at odoo@antiun.com + diff --git a/partner_ref_unique/__init__.py b/partner_ref_unique/__init__.py new file mode 100644 index 000000000..6b49297d7 --- /dev/null +++ b/partner_ref_unique/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/partner_ref_unique/__openerp__.py b/partner_ref_unique/__openerp__.py new file mode 100644 index 000000000..9a611b5eb --- /dev/null +++ b/partner_ref_unique/__openerp__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Partner unique reference", + "summary": "Add an unique constraint to partner ref field", + "version": "8.0.1.0.0", + "category": "Customer Relationship Management", + "website": "http://www.antiun.com", + "author": "Antiun Ingeniería S.L.", + "license": "AGPL-3", + "application": False, + "installable": True, + # 'auto_install':False, + "external_dependencies": { + "python": [], + "bin": [], + }, + "depends": [ + "base", + ], + "data": [ + "views/res_company_view.xml", + ], + "demo": [ + ], + "qweb": [ + ] +} diff --git a/partner_ref_unique/models/__init__.py b/partner_ref_unique/models/__init__.py new file mode 100644 index 000000000..0b15881ca --- /dev/null +++ b/partner_ref_unique/models/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import res_company +from . import res_partner diff --git a/partner_ref_unique/models/res_company.py b/partner_ref_unique/models/res_company.py new file mode 100644 index 000000000..5b0909de9 --- /dev/null +++ b/partner_ref_unique/models/res_company.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, fields + + +class ResCompany(models.Model): + _inherit = "res.company" + + partner_ref_unique = fields.Selection( + selection=[ + ('none', 'None'), + ('companies', 'Only companies'), + ('all', 'All partners'), + ], string="Unique partner reference for", default="none") diff --git a/partner_ref_unique/models/res_partner.py b/partner_ref_unique/models/res_partner.py new file mode 100644 index 000000000..13b3284ef --- /dev/null +++ b/partner_ref_unique/models/res_partner.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, api, _ +from openerp.exceptions import ValidationError + + +class ResPartner(models.Model): + _inherit = "res.partner" + + @api.multi + @api.constrains('ref', 'is_company', 'company_id') + def _check_ref(self): + for partner in self: + mode = partner.company_id.partner_ref_unique + if (partner.ref and ( + mode == 'all' or + (mode == 'companies' and partner.is_company))): + domain = [ + ('id', '!=', partner.id), + ('ref', '=', partner.ref), + ('customer', '=', True), + ] + if mode == 'companies': + domain.append(('is_company', '=', True)) + other = self.search(domain) + if other: + raise ValidationError( + _("This reference is equal to partner '%s'") % + other[0].display_name) diff --git a/partner_ref_unique/static/description/icon.png b/partner_ref_unique/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..2d8a45c39a9b63943bc91733947e8c6a99c9babf GIT binary patch literal 11429 zcmW++1z1z>7ans%I!8AQL>M6@NF&`XUBc*)?gnWI0Rd?lB`6>@8bqWKL}GLgq@?@5 z-~ZWjcc0y7yWib8?>XN&=Y8X~HI)eQXz>650HKPqye{S({@;Ovjd|~rvL42qux-?o zLDV?3us%OpCjfvMpdv4; z??1nvACzk5=d&$+F@1P|4j6Y3npCdm8Ek^lxQwuc^K-ywHm!6uMV4H;YfXN_t93sR zX2#4ziadwFDoy+b`aB9a)OdeVLASkgBvH?-UW+%u=;pG{Xp@Bw(P*^a@-3PKYxBV-DHS!*XemTIx-@`nXty^*}5=$dn?h<(0~*9)siGy5A#FI z_Go~+X3rCL6(rqdq~B+4PLg*6b*^+ekT>R3fEk}BRSriR>|lTLq^qkd@#;vXMy<>$JHJR8J3+A3I@1E;qcEIWIMtEmI&UF9!nS(tK_2MpI| zJ(X!VaYZ4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