Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045367Openbravo ERP07. Sales managementpublic2020-10-29 20:192020-11-04 11:41
Mery Anelo 
vmromanos 
urgentmajoralways
closedfixed 
5
PR20Q3 
PR20Q4PR20Q4 
Core
No
0045367: By deactivating any registration in the tax zone, you can get this tax if the business partner belongs to that country
Is necessary fix this issue because the following issue is affected by this one. Related to the issue: https://issues.openbravo.com/view.php?id=39951 [^]

(In english)

By deactivating a country from the tax zone (tab of the window Tax Rate) and creating an sales invoice for a business partner who has that country at their address, you still can get the deactivated tax rate.
For example, in the aforementioned case the UK country is deactivated from the taxes related to the European Union since it will no longer belong to it. Brexit: https://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/BREXIT/BREXIT.shtml [^]
In the "Sales Invoices" windows, when chose a service in the lines must obtain the "International Services rendered" tax for services, however, you continue to obtain a tax related to the EU even though it was deactivated.

(En español)

Al desactivar un país de la zona de impuestos (ventana propia de impuestos) y crear una factura para un tercero que posea en su dirección dicho país podrá conseguir el registro desactivado.
Por ejemplo, en el caso mencionado el país UK es desactivado de los impuestos relacionados a la Unión Europea ya que el mismo ya no pertenecera a ella. Brexit: https://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/BREXIT/BREXIT.shtml [^]
Dentro de las facturas (cliente), al hacerlo debe conseguir para servicios el impuesto "Servicios prestados internacional", sin embargo, continua consiguiendo un impuesto relacionado a la UE a pesar de que el mismo fue correctamente desactivado.
(See the attached video)

- Install the versión 1.2.1800 of the module "Taxes: configuration for Spain (Impuestos para España)"
- Go to "Enterprise module management" windows and execute the references.
- Configure organization, Product (as services) and Bussines Parter with UK address.
- Make a Sales invoice.
- Select the product (of the services category) and see the tax set by the callout is "Servicios prestados UE (%N=>0%)" (Which is disabled for UK) and should by "Servicios prestados internacional (%N=>0%)"
See the attached patch for the function c_gettax.
No tags attached.
blocks defect 0045338 closed vmromanos By deactivating any registration in the tax zone, you can get this tax if the business partner belongs to that country 
Issue History
2020-11-03 14:58vmromanosTypedefect => backport
2020-11-03 14:58vmromanosTarget Version => PR20Q4
2020-11-04 11:04hgbotNote Added: 0124149
2020-11-04 11:41hgbotResolutionopen => fixed
2020-11-04 11:41hgbotStatusscheduled => closed
2020-11-04 11:41hgbotFixed in Version => PR20Q4
2020-11-04 11:41hgbotNote Added: 0124157
2020-11-04 11:41hgbotNote Added: 0124158

Notes
(0124149)
hgbot   
2020-11-04 11:04   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/214 [^]
(0124157)
hgbot   
2020-11-04 11:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: c782bda6c61d3ed6397b0c2ef32e4198b9918eb9
Author: Víctor Martínez Romanos <victor.martinez@openbravo.com>
Date: 2020-11-04T11:03:05+01:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c782bda6c61d3ed6397b0c2ef32e4198b9918eb9 [^]

Fixed BUG-45367: Filter by active tax zone in C_GETTAX

---
M src-db/database/model/functions/C_GETTAX.xml
---
(0124158)
hgbot   
2020-11-04 11:41   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/214 [^]