Skip to content

Commit

Permalink
Merge pull request #68 from LeartS/8.0-pec-new-api
Browse files Browse the repository at this point in the history
l10n_it_pec: use new API
  • Loading branch information
guewen committed Dec 12, 2014
2 parents 5d87fd9 + bf7ad11 commit 9f516e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
12 changes: 6 additions & 6 deletions l10n_it_pec/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
'author': 'OpenERP Italian Community',
'website': 'http://www.openerp-italia.org',
'license': 'AGPL-3',
"depends": ['base'],
"data": [
'depends': ['base'],
'data': [
'view/partner_view.xml',
],
"qweb": [],
"demo": [],
"test": [],
"active": False,
'qweb': [],
'demo': [],
'test': [],
'active': False,
'installable': True
}
11 changes: 4 additions & 7 deletions l10n_it_pec/model/partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@
#
##############################################################################

from openerp.osv import fields, orm
from openerp import models, fields


class ResPartner(orm.Model):
class ResPartner(models.Model):
_inherit = "res.partner"
_columns = {
'pec_mail': fields.char(
'PEC Mail'
),
}

pec_mail = fields.Char(string='PEC Mail')

0 comments on commit 9f516e3

Please sign in to comment.