Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018465Openbravo ERP09. Financial managementpublic2011-09-08 10:092011-10-12 01:59
jecharri 
jecharri 
urgentmajoralways
closedfixed 
5
pi 
3.0MP4 
Google Chrome
Core
No
0018465: Problems with Tax Rates
When you have defined 2 tax rates (all the attributes are the same except the Organization), and both in the same tax category, and you have one product with this category. Sometimes the method c_gettax doesn't work like we want.
Go to tax_rate and create two taxes with the same attributes except the organization field. Here put one to "F&B España - Región Norte" and in the other put "F&B España - Región Sur" (Country and destination country must be Spain)
Now associate the category of the tax to one product.
Go to purchase order for example and create one header and one line (in the header put the organization F&B España - Región Norte).
When you are creating the new record in the line, select the product that we have modified and see that the tax field it doesn't change. If it is changing, change the organizations of the taxes (where you had F&B España - Región Norte put F&B España - Región Sur and the same with the other organization)
The problem is that the c_gettax method doesn't catch the correct tax because ignore the organization.
No tags attached.
depends on backport 00184662.50MP35 closed jecharri Problems with Tax Rates 
Issue History
2011-09-08 10:09jecharriNew Issue
2011-09-08 10:09jecharriAssigned To => jonalegriaesarte
2011-09-08 10:09jecharriWeb browser => Google Chrome
2011-09-08 10:09jecharriModules => Core
2011-09-08 10:09jecharriResolution time => 1317852000
2011-09-08 10:10jecharriStatusnew => scheduled
2011-09-08 10:10jecharrifix_in_branch => pi
2011-09-21 12:43jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-09-22 10:38hgbotCheckin
2011-09-22 10:38hgbotNote Added: 0041230
2011-09-22 10:38hgbotStatusscheduled => resolved
2011-09-22 10:38hgbotResolutionopen => fixed
2011-09-22 10:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bfe95c83727001047a154b21e80dab5182255ddb [^]
2011-09-27 10:14ioritzCiaNote Added: 0041307
2011-09-27 10:14ioritzCiaStatusresolved => closed
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041692

Notes
(0041230)
hgbot   
2011-09-22 10:38   
Repository: erp/devel/pi
Changeset: bfe95c83727001047a154b21e80dab5182255ddb
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Sep 22 10:38:15 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bfe95c83727001047a154b21e80dab5182255ddb [^]

Fixes issue 18465: Problems with Tax Rates

---
M src-db/database/model/functions/C_GETTAX.xml
---
(0041307)
ioritzCia   
2011-09-27 10:14   
Verified.
(0041692)
hudsonbot   
2011-10-12 01:59   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test