diff --git a/l10n_mx_facturae/templates/account_invoice.txt b/l10n_mx_facturae/templates/account_invoice.txt index 900442c2af5aa848d36c30a47eef3af544c4b39b..fd18aa7d4dad8daf8e2b6e2441d5fbb41dd3b7c1 100644 --- a/l10n_mx_facturae/templates/account_invoice.txt +++ b/l10n_mx_facturae/templates/account_invoice.txt @@ -110,7 +110,7 @@ {% if line.cfdi_numero_identificacion %}NoIdentificacion="${ html_escape(line.cfdi_numero_identificacion) }"{% end %} {% end %} {% end %} - Cantidad="${ '{0:.6f}'.format(line.quantity) }" + Cantidad="${ '{0:g}'.format(line.quantity) }" {% choose line.uos_id.name %} {% when False %}${ validationerror(_('Please select a unit of measure for line: {l}').format(l=line.name)) }{% end %} {% otherwise %}