Commit 5032d750 authored by Screwdriver's avatar Screwdriver
Browse files

riba

parent 81b529f1e1dc
......@@ -54,7 +54,7 @@ class PGRiBa(RiBa):
cli_ente = Cliente().getRecord(id=documento.id_cliente)
cod_fisc_piva = ''
if cli_ente:
cod_fisc_piva = cli_ente.codice_fiscale or cli_ente.partita_iva
cod_fisc_piva = cli_ente.partita_iva or cli_ente.codice_fiscale
else:
cod_fisc_piva = documento.codice_fiscale_cliente
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment