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