Browse Source

[ADD] Fix coding and lint error

pull/348/head
aschenkels-ictstudio 8 years ago
parent
commit
c5860a7812
  1. 33
      partner_company_registry/README.rst
  2. 9
      partner_company_registry/__openerp__.py
  3. 5
      partner_company_registry/models/res_partner.py
  4. BIN
      partner_company_registry/static/description/icon.png

33
partner_company_registry/README.rst

@ -0,0 +1,33 @@
.. 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 Comapny Registry
========================
This module was written to extend the functionality a company to add the reigistry information
Credits
=======
Contributors
------------
* André Schenkels <a.schenkels@ictstudio.eu>
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.

9
partner_company_registry/__openerp__.py

@ -3,12 +3,11 @@
# License: AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
'name': 'Partner Company Registry',
'version': '8.0.1.0.0',
'version': '8.0.1.0.1',
'category': 'CRM',
'description': """Partner Company Registry
Adds a Partner Registry field to the partner object.
""",
'author': 'ICTSTUDIO, André Schenkels',
'author': "ICTSTUDIO, "
"Odoo Community Association (OCA)",
'maintainer': 'ICTSTUDIO',
'license': 'AGPL-3',
'website': 'http://www.ictstudio.eu',
'depends': [

5
partner_company_registry/models/res_partner.py

@ -2,13 +2,10 @@
# Copyright© 2016 ICTSTUDIO <http://www.ictstudio.eu>
# License: AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from openerp import models, fields, api, _
import logging
from openerp import models, fields
_logger = logging.getLogger(__name__)
class ResPartner(models.Model):
_inherit = 'res.partner'
company_registry = fields.Char(string="Company Registry")

BIN
partner_company_registry/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 2.7 KiB

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

Loading…
Cancel
Save