Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020639Openbravo ERP09. Financial managementpublic2012-05-30 13:052012-06-27 05:28
ngarcia 
caristu 
normalminoralways
closedfixed 
5
 
3.0MP14 
Core
No
0020639: gettax database function's selects order by Id
gettax database function's selects order by Id.

When two taxes has the same configuration (valid from date, tax category, type, country/region and destination country/region, business partner category and so on) except of the value for the Default field, ¿should the one with the default value to 'YES' be selected when a product is entered on a Sales Order?
As F&B international Group admin role and F&B España - Región Norte organization:
   Go to the Tax Rate window
   Change the "Entregas IVA 18%" Valid from Date to '01-01-2000' (the same as the value for "Entregas IVA 16%")
   Go to the Sales order window and create a new one
   Select "Alimentos y Supermercados..." as Business Partner
   Create a line with the "Agua sin Gas 1L" product

Note that the tax has changed to "Entregas IVA 18%"

   Go to the Tax Rate window again
   Check the Default field of the "Entregas IVA 16%"

   Repeat the process of creating the line

Note that the tax has changed to "Entregas IVA 18%"

Should it be "Entregas IVA 16%" as it is checked as Default?

   
No tags attached.
Issue History
2012-05-30 13:05ngarciaNew Issue
2012-05-30 13:05ngarciaAssigned To => mirurita
2012-05-30 13:05ngarciaModules => Core
2012-05-30 13:05ngarciaResolution time => 1344549600
2012-05-30 13:08miruritaAssigned Tomirurita => jonalegriaesarte
2012-06-01 11:41extraIssue Monitored: extra
2012-06-01 11:42extraNote Added: 0049574
2012-06-05 09:57jonalegriaesarteAssigned Tojonalegriaesarte => ngarcia
2012-06-05 09:58jonalegriaesarteAssigned Tongarcia => caristu
2012-06-07 13:22hgbotCheckin
2012-06-07 13:22hgbotNote Added: 0049668
2012-06-07 13:22hgbotStatusnew => resolved
2012-06-07 13:22hgbotResolutionopen => fixed
2012-06-07 13:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b6e90bb4d2a2984c18cbb61c70c204b0b072f948 [^]
2012-06-12 12:58ngarciaIssue Monitored: networkb
2012-06-21 11:44hgbotCheckin
2012-06-21 11:44hgbotNote Added: 0049963
2012-06-22 09:02ngarciaStatusresolved => closed
2012-06-22 09:03ngarciaNote Added: 0050009
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050136

Notes
(0049574)
extra   
2012-06-01 11:42   
We have this problem in a customer environment, the default flag is not taken into account and the application suggests the wrong VAT rate.
(0049668)
hgbot   
2012-06-07 13:22   
Repository: erp/devel/pi
Changeset: b6e90bb4d2a2984c18cbb61c70c204b0b072f948
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jun 06 16:56:58 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b6e90bb4d2a2984c18cbb61c70c204b0b072f948 [^]

fixes issue 20639: gettax database function's selects order by Id

---
M src-db/database/model/functions/C_GETTAX.xml
---
(0049963)
hgbot   
2012-06-21 11:44   
Repository: erp/devel/pi
Changeset: 498e63e628f442b1f7c3ba2a8d639c0d7a86f24b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jun 20 18:26:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/498e63e628f442b1f7c3ba2a8d639c0d7a86f24b [^]

related to issue 20639: removed unnecessary ordenation

---
M src-db/database/model/functions/C_GETTAX.xml
---
(0050009)
ngarcia   
2012-06-22 09:03   
verified
(0050136)
hudsonbot   
2012-06-27 05:28   
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/cf3a7135839f [^]

Maturity status: Test