diff --git a/partner_street_number/__init__.py b/partner_street_number/__init__.py index 55fd67147..40481b593 100644 --- a/partner_street_number/__init__.py +++ b/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( diff --git a/partner_street_number/__openerp__.py b/partner_street_number/__openerp__.py index 2db5f5522..29afbc3bc 100644 --- a/partner_street_number/__openerp__.py +++ b/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',