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

[12.0] [BUG] Point of sale doesn't handle 0% VAT taxes #1152

Open
oyale opened this issue Jan 17, 2023 · 0 comments
Open

[12.0] [BUG] Point of sale doesn't handle 0% VAT taxes #1152

oyale opened this issue Jan 17, 2023 · 0 comments
Labels

Comments

@oyale
Copy link

oyale commented Jan 17, 2023

The Point of Sale (POS) module is currently not handling the new VAT taxes in Spain at 0%. This leads to malformed printed tickets and electronic invoices.

Module

Point of Sale / Ticketbai

Describe the bug

The line 1790 at models.js is not properly handling taxes when the amount to be added is 0. This conditional has been implemented to ignore taxes in these cases, which is causing the system to fail when generating invoices through the "Ticket Bai" electronic invoicing system for the Basque Country.

To Reproduce

  1. Go to the Point of Sale in an Odoo v12 with products having a 0% VAT tax
  2. Complete an order with one product at 0% VAT and any other with a positive VAT tax.
  3. Observe that the ticket doesn't show the 0% tax. The XML that's built to electronic invoice management also doesn't include it.

Affected versions:
12.0

Expected behavior
The system should be able to handle taxes with an amount of 0 and generate invoices either printed and through the "Ticket Bai" system showing the 0% VAT applied.

Additional context
The problem was detected using the l10n_es_ticketbai_pos module.

@oyale oyale added the bug label Jan 17, 2023
@oyale oyale changed the title [v12] Point of sale doesn't handle 0% VAT taxes [12.0] [BUG] Point of sale doesn't handle 0% VAT taxes Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant