Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015430Openbravo ERP09. Financial managementpublic2010-12-15 09:252010-12-20 18:20
egoitz 
adrianromero 
immediatemajoralways
closedfixed 
5
 
2.50MP25 
Core
No
0015430: The unique constraint c_doctype_name on c_doctype table should include ad_org_id column
The unique constraint c_doctype_name on c_doctype table should include ad_org_id column.
No tags attached.
depends on defect 00154393.0RC4 closed adrianromero The unique constraint c_doctype_name on c_doctype table should include ad_org_id column 
Issue History
2010-12-15 09:25egoitzNew Issue
2010-12-15 09:25egoitzAssigned To => adrianromero
2010-12-15 09:25egoitzModules => Core
2010-12-15 09:54egoitzTarget Version => 2.50MP25
2010-12-15 14:03adrianromeroIssue cloned0015439
2010-12-15 14:03adrianromeroRelationship addeddepends on 0015439
2010-12-15 14:30adrianromeroTypedefect => backport
2010-12-15 16:14hgbotCheckin
2010-12-15 16:14hgbotNote Added: 0033206
2010-12-15 16:14hgbotStatusnew => resolved
2010-12-15 16:14hgbotResolutionopen => fixed
2010-12-15 16:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/0d3830c948a7b816ccf1366a70f35766b96c6287 [^]
2010-12-15 16:14adrianromeroNote Added: 0033207
2010-12-20 18:20psarobeNote Added: 0033316
2010-12-20 18:20psarobeStatusresolved => closed

Notes
(0033206)
hgbot   
2010-12-15 16:14   
Repository: erp/stable/2.50
Changeset: 0d3830c948a7b816ccf1366a70f35766b96c6287
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Dec 15 14:28:01 2010 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/0d3830c948a7b816ccf1366a70f35766b96c6287 [^]

Fixes issue 0015430: The unique constraint c_doctype_name on c_doctype table should include ad_org_id column
It has been added the required constraint

---
M src-db/database/model/tables/C_DOCTYPE.xml
---
(0033207)
adrianromero   
2010-12-15 16:14   
* Testing the issue

Verify that it can be created two document types with the same name for different organizations.

* Other areas affected

It has to be verified that having two similar document types with the same name,and other fields but different organization, for example for AP_INVOICES, when going to the proper document, create a new document, select the organization and verify that in the document type selector, only appear the correct document types for the organization selected.
(0033316)
psarobe   
2010-12-20 18:20   
Tested working fine