Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018466Openbravo ERP09. Financial managementpublic2011-09-08 10:092011-09-27 10:13
jecharri 
jecharri 
urgentmajoralways
closedfixed 
5
2.50MP33 
2.50MP35 
Google Chrome
Core
No
0018466: 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.
blocks defect 00184653.0MP4 closed jecharri Problems with Tax Rates 
Issue History
2011-09-08 10:10jecharriTypedefect => backport
2011-09-08 10:10jecharrifix_in_branch => 2.50
2011-09-08 10:10jecharriWeb browserGoogle Chrome => Google Chrome
2011-09-08 10:10jecharriversionpi => 2.50MP33
2011-09-08 10:10jecharriTarget Version3.0MP4 => 2.50MP34
2011-09-19 11:12jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2011-09-19 11:12jonalegriaesarteTarget Version2.50MP34 => 2.50MP35
2011-09-21 12:43jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-09-22 10:39hgbotCheckin
2011-09-22 10:39hgbotNote Added: 0041231
2011-09-22 10:39hgbotStatusscheduled => resolved
2011-09-22 10:39hgbotResolutionopen => fixed
2011-09-22 10:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/b4f60af6dcc5f9792e399da2276cb85e317eb85d [^]
2011-09-27 10:13ioritzCiaNote Added: 0041305
2011-09-27 10:13ioritzCiaStatusresolved => closed

Notes
(0041231)
hgbot   
2011-09-22 10:39   
Repository: erp/stable/2.50
Changeset: b4f60af6dcc5f9792e399da2276cb85e317eb85d
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Sep 22 10:37:57 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/b4f60af6dcc5f9792e399da2276cb85e317eb85d [^]

Fixes issue 18466: Problems with Tax Rates

---
M src-db/database/model/functions/C_GETTAX.xml
---
(0041305)
ioritzCia   
2011-09-27 10:13   
Verified.