fix(account.invoice): corrige la diferencia en montos cuando el cliente no es sujeto de IEPS

Por la forma en la que se estaban procesando los impuestos cuando el cliente no era sujeto de IEPS
se forzaba realizar nuevamente el cálculo y esto ocasionaba que el precio unitario de las líneas de
factura acumulara una pequeña diferencia en decimales. El problema era que al acumular esa
diferencia en grandes cantidades acababa surgiendo una diferencia significativa en los montos de las
líneas y en el monto final de la factura. Para evitar estas diferencias se cambió la forma en como
se procesan los impuestos para evitar esas diferencias.
3 jobs for fix_8_0_3_6_5 in 1 minute and 43 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #58233
code-analysis

00:01:43

failed #58234
lint-analysis

00:00:11

failed #58235
mccabe

00:00:26

 
Name Stage Failure
failed
code-analysis Test
*************** /BUILDOUT EGGSCLEANER ****************
$ code-analysis
CSS Lint.............................[
OK ] in 0.476s
JSHint...............................[
OK ] in 0.473s
Flake8..........................[
FAILURE ] in 2.872s
./l10n_mx_facturae/models/account_invoice.py:644:38: E221 multiple spaces before operator
The command "bin/code-analysis" exited with 1 in 3.355s.
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
mccabe Test
  File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/xenon-0.9.1-py2.7.egg/xenon/core.py", line 6, in <module>
from radon.cli import Config
File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/radon-6.0.1-py2.7.egg/radon/cli/__init__.py", line 23, in <module>
from radon.cli.harvest import (
File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/radon-6.0.1-py2.7.egg/radon/cli/harvest.py", line 6, in <module>
from builtins import super
ImportError: No module named builtins
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
lint-analysis Test
    check_call('%s %s' % (shell, tmpfile), shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sh /tmp/tmpWKXHWC/run' returned non-zero exit status 1
*************** BUILDOUT EGGSCLEANER ****************
No unused eggs in eggs directory
*************** /BUILDOUT EGGSCLEANER ****************
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

Speed up your pipelines with Needs relationships

Using the needs keyword makes jobs run before their stage is reached. Jobs run as soon as their needs relationships are met, which speeds up your pipelines.

If you add needs to jobs in your pipeline you'll be able to view the needs relationships between jobs in this tab as a Directed Acyclic Graph (DAG).

There are no tests to show.