• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / l10n-spain / 4871 / 3
82%
9.0: 73%

Build:
Build:
LAST BUILD BRANCH: 12.0-l10n_es_aeat_mod347-exportacion-servicios
DEFAULT BRANCH: 9.0
Ran 07 Aug 2019 09:04AM UTC
Files 91
Run time 70min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2019 08:30AM UTC coverage: 81.74% (-0.1%) from 81.835%
TESTS="1" ODOO_REPO="odoo/odoo"

push

travis-ci

pedrobaeza
<a href="https://github.com/OCA/l10n-spain/commit/<a class=hub.com/OCA/l10n-spain/commit/<a class="double-link" href="https://git"><a class=hub.com/OCA/l10n-spain/commit/56bfaf95a78982f4e27f045e77fc1e42fea53a53">56bfaf95a<a href="https://github.com/OCA/l10n-spain/commit/56bfaf95a78982f4e27f045e77fc1e42fea53a53">&lt;a href=&quot;https://github.com/OCA/l10n-spain/commit/56bfaf95a78982f4e27f045e77fc1e42fea53a53&quot;&gt;&quot;&gt;[FIX] l10n_es_aeat_sii: float_round error in BaseImponible

Extension of https://github.com/OCA/l10n-spain/pull/972/commits/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/OCA/l10n-spain/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/OCA/l10n-spain/commit/8a650787f14fd40513e9161a0e78bf09b55fd220&quot;&gt;8a650787f&lt;/a&gt;&quot;&gt;8a650787f&lt;/a&gt;&lt;a href=&quot;https://github.com/OCA/l10n-spain/commit/56bfaf95a78982f4e27f045e77fc1e42fea53a53">

En las lineas https://github.com/OCA/l10n-spain/blob/</a><a class="double-link" href="https://github.com/OCA/l10n-spain/commit/&lt;a class=&quot;double-link" href="https://git"><a class=hub.com/OCA/l10n-spain/commit/<a class=hub.com/OCA/l10n-spain/commit/fabc3a39eda6c595045906a3a612a18a6d902f9f">fabc3a39e">fabc3a39e</a><a href="https://github.com/OCA/l10n-spain/commit/56bfaf95a78982f4e27f045e77fc1e42fea53a53">/l10n_es_aeat_sii/models/account_invoice.py#L491-L492
y
https://github.com/OCA/l10n-spain/blob/fabc3a39eda6c595045906a3a612a18a6d902f9f/l10n_es_aeat_sii/models/account_invoice.py#L537-L538

la suma (+=) genera un error de coma flotante, para reproducir el error desde la consola Python:

Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
&gt;&gt;&gt; 170.61 + 107.35
277.96000000000004

Example on customer exempt invoices:

- &quot;Invoice Lines&quot; tab:
    * [
        { quantity: 1,  price_unit: 56.31,  invoice_line_tax_ids: [&#39;IVA Exento Repercutido&#39;] },
        { quantity: 58, price_unit: 0.88,   invoice_line_tax_ids: [&#39;IVA Exento Repercutido&#39;] },
        { quantity: 1,  price_unit: 170.61, invoice_line_tax_ids: [&#39;IVA Exento Repercutido&#39;] },
      ]

- &quot;SII&quot; tab:
    - &quot;General&quot; tab:

        * Error de envio SII: 1100 | Valor o tipo incorrecto del campo: BaseImponible

    - &quot;Technical&quot; tab:

        * Último contenido enviado al SII
        {
            &quot;FacturaExpedida&quot;: {
                &quot;ClaveRegimenEspecialOTrascendencia&quot;: &quot;01&quot;,
  ... (continued)

3608 of 4414 relevant lines covered (81.74%)

0.82 hits per line

Source Files on job 4871.3 (TESTS="1" ODOO_REPO="odoo/odoo")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4224
  • Travis Job 4871.3
  • 56bfaf95 on github
  • Prev Job for TESTS="1" ODOO_REPO="odoo/odoo" on 12.0 (#4866.3)
  • Next Job for TESTS="1" ODOO_REPO="odoo/odoo" on 12.0 (#4872.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc