Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025872Openbravo ERPA. Platformpublic2014-02-28 17:262014-03-03 09:42
Xpand-IT 
dmiguelez 
normalminoralways
newopen 
107
3.0MP30 
 
Google Chrome
Core
No
0025872: c_tax_name1 constraint does not work as exected
The unique constraint c_tax_name1 for table c_tax does not work as expected in postgres databases.
In postgres we can create several taxes with the same client, org, name if the parent is not filled.

This is an error from postgres database, you can see a similar problem at http://stackoverflow.com/questions/8289100/create-unique-constraint-with-null-columns [^]
Go to Financial Management > Accounting > Setup > Tax Rate
Create a new tax (IVA 23%) with no parent
Create a second tax with the same information

We are able to save the second one but we shouldn't
No tags attached.
png Openbravo - Tax Rate.png (23,843) 2014-02-28 17:26
https://issues.openbravo.com/file_download.php?file_id=6727&type=bug
png
Issue History
2014-02-28 17:26Xpand-ITNew Issue
2014-02-28 17:26Xpand-ITAssigned To => AugustoMauch
2014-02-28 17:26Xpand-ITFile Added: Openbravo - Tax Rate.png
2014-02-28 17:26Xpand-ITWeb browser => Google Chrome
2014-02-28 17:26Xpand-ITModules => Core
2014-02-28 17:26Xpand-ITTriggers an Emergency Pack => No
2014-03-03 09:42alostaleAssigned ToAugustoMauch => dmiguelez

There are no notes attached to this issue.