Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

factura electrónica no valida bonos fiscales #32

Open
gbhadolfo opened this issue Aug 17, 2021 · 0 comments
Open

factura electrónica no valida bonos fiscales #32

gbhadolfo opened this issue Aug 17, 2021 · 0 comments

Comments

@gbhadolfo
Copy link

factura electrónica no valida bonos fiscales

Version affectada:

13.0

Pasos para reproducir:

El error está en la línea 486 y siguientes, pues toma campos y métodos de la versión 12.0

Creo que para solucionarlo hay que comentar las siguientes líneas (de la 486,a la 492)

                    iva_id = line.vat_tax_id.tax_group_id.l10n_ar_vat_afip_code
                    vat_taxes_amounts = line.vat_tax_id.compute_all(
                        line.price_unit, inv.currency_id, line.quantity,
                        product=line.product_id,
                        partner=inv.partner_id)
                    imp_iva = sum(
                        [x['amount'] for x in vat_taxes_amounts['taxes']])

ya que la variable imp_iva toma valor antes, con el método self._l10n_ar_get_amounts()

maq-adhoc pushed a commit to adhoc-dev/odoo-argentina-ce that referenced this issue Jan 15, 2023
roboadhoc pushed a commit that referenced this issue Jan 30, 2023
fw-bot-adhoc pushed a commit to adhoc-dev/odoo-argentina-ce that referenced this issue Jan 30, 2023
stdout:
Auto-merging l10n_ar_afipws_fe/models/account_move.py
CONFLICT (content): Merge conflict in l10n_ar_afipws_fe/models/account_move.py

stderr:
20:09:22.272723 git.c:444               trace: built-in: git cherry-pick bd114fd
error: could not apply bd114fd... [FIX] Fix issue ingadhoc#28 and  ingadhoc#32
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
----------
status:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant