Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015439Openbravo ERP09. Financial managementpublic2010-12-15 14:032010-12-30 13:13
adrianromero 
adrianromero 
immediatemajoralways
closedfixed 
5
3.0RC3 
3.0RC4 
Core
No
0015439: 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.
blocks backport 00154302.50MP25 closed adrianromero The unique constraint c_doctype_name on c_doctype table should include ad_org_id column 
Issue History
2010-12-15 14:03adrianromeroNew Issue
2010-12-15 14:03adrianromeroAssigned To => adrianromero
2010-12-15 14:03adrianromeroModules => Core
2010-12-15 14:03adrianromeroIssue generated from0015430
2010-12-15 14:03adrianromeroRelationship addedblocks 0015430
2010-12-15 16:03hgbotCheckin
2010-12-15 16:03hgbotNote Added: 0033204
2010-12-15 16:03hgbotStatusnew => resolved
2010-12-15 16:03hgbotResolutionopen => fixed
2010-12-15 16:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/480b20422e2f250ec910efa836dc098d2fae0517 [^]
2010-12-15 16:09adrianromeroNote Added: 0033205
2010-12-20 18:20psarobeNote Added: 0033315
2010-12-20 18:20psarobeStatusresolved => closed
2010-12-21 00:00anonymoussf_bug_id0 => 3141012
2010-12-30 13:13hudsonbotCheckin
2010-12-30 13:13hudsonbotNote Added: 0033448

Notes
(0033204)
hgbot   
2010-12-15 16:03   
Repository: erp/devel/pi
Changeset: 480b20422e2f250ec910efa836dc098d2fae0517
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Dec 15 14:25:05 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/480b20422e2f250ec910efa836dc098d2fae0517 [^]

Fixes issue 0015439: 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
---
(0033205)
adrianromero   
2010-12-15 16:09   
* 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.
(0033315)
psarobe   
2010-12-20 18:20   
Tested working fine
(0033448)
hudsonbot   
2010-12-30 13:13   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/480b20422e2f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]