diff --git a/partner_industries/README.rst b/partner_industries/README.rst deleted file mode 100644 index 2a5707759..000000000 --- a/partner_industries/README.rst +++ /dev/null @@ -1,25 +0,0 @@ -Industry sector on partner -========================== - -This addon adds an industry sector object and a field 'Industry sectors' after the tags on the partner form view. - -Credits -======= - -Contributors ------------- - -* Jacques-Etienne Baudoux (BCIM sprl) - -Maintainer ----------- - -.. image:: http://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: http://odoo-community.org - -This module is maintained by the OCA. - -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. - -To contribute to this module, please visit http://odoo-community.org. diff --git a/partner_industries/__init__.py b/partner_industries/__init__.py deleted file mode 100644 index 24ea95a61..000000000 --- a/partner_industries/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# -# License, author and contributors information in: -# __openerp__.py file at the root folder of this module. -# - -from . import model diff --git a/partner_industries/__openerp__.py b/partner_industries/__openerp__.py deleted file mode 100644 index e4d33980a..000000000 --- a/partner_industries/__openerp__.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Author: Jacques-Etienne Baudoux -# Copyright 2015 BCIM sprl -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -{ - 'name': 'Partner Industry Sector', - 'version': '1.0', - 'author': "BCIM,Odoo Community Association (OCA)", - 'maintainer': 'BCIM', - 'category': 'Sales Management', - 'complexity': 'easy', - 'depends': ['base'], - 'website': 'http://www.bcim.be', - 'data': [ - 'view/industry.xml', - 'view/partner.xml', - ], - 'installable': True, - 'auto_install': False, - 'license': 'AGPL-3', - 'application': False, -} diff --git a/partner_industries/model/__init__.py b/partner_industries/model/__init__.py deleted file mode 100644 index 2dd337f99..000000000 --- a/partner_industries/model/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from . import industry -from . import partner diff --git a/partner_industries/model/industry.py b/partner_industries/model/industry.py deleted file mode 100644 index 73c1fca70..000000000 --- a/partner_industries/model/industry.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Author: Jacques-Etienne Baudoux -# Copyright 2015 BCIM sprl -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -from openerp.osv import fields, orm - - -class Industry(orm.Model): - _name = 'res.partner.category.industry' - _inherit = 'res.partner.category' - - _columns = { - 'code': fields.char('Code', size=16), - 'parent_id': fields.many2one(_name, 'Parent Category', select=True, ondelete='cascade'), - 'partner_ids': fields.many2many( - 'res.partner', - 'res_partner_industry_rel', 'industry_id', 'partner_id', - 'Partners'), - } diff --git a/partner_industries/model/partner.py b/partner_industries/model/partner.py deleted file mode 100644 index c5cbd96d2..000000000 --- a/partner_industries/model/partner.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Author: Jacques-Etienne Baudoux -# Copyright 2015 BCIM sprl -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -from openerp.osv import fields, orm - - -class res_partner(orm.Model): - _inherit = 'res.partner' - _columns = { - 'industry_ids': fields.many2many( - 'res.partner.category.industry', - 'res_partner_industry_rel', 'partner_id', 'industry_id', - 'Industries'), - } diff --git a/partner_industries/view/industry.xml b/partner_industries/view/industry.xml deleted file mode 100644 index 1c43426e9..000000000 --- a/partner_industries/view/industry.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - Industry - res.partner.category.industry - -
- - -
-
-
- - - Industry - res.partner.category.industry - - - - - - - - - - Industry Sectors - res.partner.category.industry - form - tree,form - - - - - -
-
- diff --git a/partner_industries/view/partner.xml b/partner_industries/view/partner.xml deleted file mode 100644 index 838672f0b..000000000 --- a/partner_industries/view/partner.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - res.partner.search.industry - res.partner - - - - - - - - - - - res.partner.form.industry - res.partner - - - - - - - - - -