Browse Source

partner_street_number: PEP8 corrections

pull/207/head
Darko Nikolovski 8 years ago
parent
commit
4910be333f
  1. 2
      partner_street_number/__init__.py
  2. 4
      partner_street_number/__openerp__.py

2
partner_street_number/__init__.py

@ -36,7 +36,7 @@ def post_init_hook(cr, registry):
cr.execute(
'SELECT id, street FROM res_partner '
'WHERE street IS NOT NULL and street_name IS NULL'
)
)
partner_obj = registry['res.partner']
for partner in cr.fetchall():
partner_obj.write(

4
partner_street_number/__openerp__.py

@ -27,11 +27,11 @@
"category": 'Tools',
"depends": [
'web',
],
],
"data": [
'views/res_partner.xml',
'views/assets.xml',
],
],
'installable': True,
'license': 'AGPL-3',
'post_init_hook': 'post_init_hook',

Loading…
Cancel
Save