Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2020-10-29 20:192020-11-04 11:41
ReporterMery AneloView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in VersionPR20Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR20Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionPR20Q3SCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0045367: By deactivating any registration in the tax zone, you can get this tax if the business partner belongs to that country

DescriptionIs necessary fix this issue because the following issue is affected by this one. Related to the issue: [^]

(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: [^]
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: [^]
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.
Steps To Reproduce(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%)"
Proposed SolutionSee the attached patch for the function c_gettax.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0045338 closedvmromanos By deactivating any registration in the tax zone, you can get this tax if the business partner belongs to that country 

-  Notes
hgbot (developer)
2020-11-04 11:04

Merge Request created: [^]
hgbot (developer)
2020-11-04 11:41

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: c782bda6c61d3ed6397b0c2ef32e4198b9918eb9
Author: Víctor Martínez Romanos <>
Date: 2020-11-04T11:03:05+01:00
URL: [^]

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

M src-db/database/model/functions/C_GETTAX.xml
hgbot (developer)
2020-11-04 11:41

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2020-11-03 14:58 vmromanos Type defect => backport
2020-11-03 14:58 vmromanos Target Version => PR20Q4
2020-11-04 11:04 hgbot Note Added: 0124149
2020-11-04 11:41 hgbot Resolution open => fixed
2020-11-04 11:41 hgbot Status scheduled => closed
2020-11-04 11:41 hgbot Fixed in Version => PR20Q4
2020-11-04 11:41 hgbot Note Added: 0124157
2020-11-04 11:41 hgbot Note Added: 0124158

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker