@ -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(
@ -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',