Skip to content

Commit

Permalink
Merge pull request odoo-brazil#18 from kmee/fix/endereco-beneficiario
Browse files Browse the repository at this point in the history
[FIX] Corrigido erro python quando endereço do beneficiário está vazio
  • Loading branch information
Wagner Pereira authored Aug 1, 2017
2 parents 778ba23 + 3b2b567 commit 69fece1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def set_beneficiario(self, beneficiario):
self.boleto.cedente_bairro = self._beneficiario.district or ''
self.boleto.cedente_cep = self._beneficiario.zip or ''
self.boleto.cedente_cidade = self._beneficiario.city or ''
self.boleto.cedente_logradouro = self._beneficiario.street + \
self.boleto.cedente_logradouro = (self._beneficiario.street or) '' + \
', ' + (self._beneficiario.number or 'SN')
self.boleto.cedente_uf = self._beneficiario.state_id.code or ''

Expand Down

0 comments on commit 69fece1

Please sign in to comment.