Função onchange_cep_id (partner.py) retorna erro

Bug #589861 reported by Luciano Schirmer (IG-Tech)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Brazilian Portuguese Localization (pt_BR)
Fix Released
Undecided
Unassigned

Bug Description

Função onchange_cep_id, no arquivo partner.py, retorna erro se o obj_cep.street_type ou o obj_cep.street estiver(em) em branco no cadastro de CEPs.

O erro ocorre em: ~openerp-brazil-team/openerp.pt-br-localiz/trunk : /l10n_br/partner.py (revision 53), linha 151, que faz a concatenação das strings. Se um dos campos estiver em branco, é tratado como 'bool' e retorna erro.

result['value']['street'] = obj_cep.street_type + ' ' + obj_cep.street

Changed in openerp.pt-br-localiz:
importance: Undecided → Low
importance: Low → Undecided
Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Acho que foi corrigido, senao por insistir.

Changed in openerp.pt-br-localiz:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.