Ran
|
Jobs
2
|
Files
106
|
Run time
57min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<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/aa4761e3ce0c1df3490efd8a88f60f37fe5a1fbb">aa4761e3c<a href="https://github.com/OCA/l10n-spain/commit/aa4761e3ce0c1df3490efd8a88f60f37fe5a1fbb"><a href="https://github.com/OCA/l10n-spain/commit/aa4761e3ce0c1df3490efd8a88f60f37fe5a1fbb">">[FIX] l10n_es_aeat_sii: float_round error in BaseImponible Extension of https://github.com/OCA/l10n-spain/pull/972/commits/</a><a class="double-link" href="https://github.com/OCA/l10n-spain/commit/<a class="double-link" href="https://github.com/OCA/l10n-spain/commit/8a650787f14fd40513e9161a0e78bf09b55fd220">8a650787f</a>">8a650787f</a><a href="https://github.com/OCA/l10n-spain/commit/aa4761e3ce0c1df3490efd8a88f60f37fe5a1fbb"> En las lineas https://github.com/OCA/l10n-spain/blob/</a><a class="double-link" href="https://github.com/OCA/l10n-spain/commit/<a class="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/aa4761e3ce0c1df3490efd8a88f60f37fe5a1fbb">/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 >>> 170.61 + 107.35 277.96000000000004 Example on customer exempt invoices: - "Invoice Lines" tab: * [ { quantity: 1, price_unit: 56.31, invoice_line_tax_ids: ['IVA Exento Repercutido'] }, { quantity: 58, price_unit: 0.88, invoice_line_tax_ids: ['IVA Exento Repercutido'] }, { quantity: 1, price_unit: 170.61, invoice_line_tax_ids: ['IVA Exento Repercutido'] }, ] - "SII" tab: - "General" tab: * Error de envio SII: 1100 | Valor o tipo incorrecto del campo: BaseImponible - "Technical" tab: * Último contenido enviado al SII { "FacturaExpedida": { "ClaveRegimenEspecialOTrascendencia": "01", ... (continued)
11 of 11 new or added lines in 1 file covered. (100.0%)
3924 of 5046 relevant lines covered (77.76%)
1.56 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
6 |
58.44 |
l10n_es_aeat_sii/models/account_invoice.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
2 | 4868.2 (TESTS="1" ODOO_REPO="OCA/OCB") | 106 |
77.76 |
Travis Job 4868.2 | |
3 | 4868.3 (TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1") | 106 |
77.76 |
Travis Job 4868.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|