Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013636Openbravo ERP01. General setuppublic2010-06-14 10:322010-06-16 14:05
networkb 
adrianromero 
immediatemajoralways
closedfixed 
5
2.50MP17 
2.50MP19 
Core
No
0013636: If the same accounting schema is assigned for more than one org, a vendor is created with many entries on the accounting tab
 If the same accounting schema is assigend for more than one org, a vendor is created with many entries on the accounting tab
-Go to the organization window and for organization A add the accounting schema on the org schema tab.
-Do the same for the organization B.
-Create a new partner for the organization Main.
-Check is as vendor
-Go to the accounting tab and see that more than one line is created on this accounting tab.
Regression
related to defect 00125882.50MP14 closed rajagopal If the same accounting schema is assigend for more than one org, a vendor is created with many entries on the accounting tab 
related to defect 00122252.50MP17 closed harikrishnan Error when copying accounting configuration from BP group 
related to defect 0013691 closed mirurita The same pair of Accounting schema and Status can be used several times in the Accounting tab of BP and BP Category windows 
Issue History
2010-06-14 10:32networkbNew Issue
2010-06-14 10:32networkbAssigned To => adrianromero
2010-06-14 10:41networkbRelationship addedrelated to 0012588
2010-06-14 16:04adrianromeroStatusnew => scheduled
2010-06-14 16:04adrianromerofix_in_branch => pi
2010-06-14 16:04adrianromeroRelationship addedrelated to 0012225
2010-06-14 16:18hgbotCheckin
2010-06-14 16:18hgbotNote Added: 0028377
2010-06-14 16:18hgbotStatusscheduled => resolved
2010-06-14 16:18hgbotResolutionopen => fixed
2010-06-14 16:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/37271534c60dd6129752ff93ef638fba16017775 [^]
2010-06-14 16:23adrianromeroNote Added: 0028378
2010-06-14 16:37psarobeTag Attached: Regression
2010-06-14 16:38psarobeversion2.50MP18 => 2.50MP15
2010-06-14 16:38psarobefix_in_branchpi =>
2010-06-14 16:38psarobeNote Added: 0028379
2010-06-15 05:44hudsonbotCheckin
2010-06-15 05:44hudsonbotNote Added: 0028409
2010-06-15 07:33arunkumarNote Added: 0028415
2010-06-15 07:33arunkumarStatusresolved => closed
2010-06-16 00:00anonymoussf_bug_id0 => 3016775
2010-06-16 14:05psarobeversion2.50MP15 => 2.50MP17
2010-06-17 20:38dmitry_mezentsevRelationship addedrelated to 0013691

Notes
(0028377)
hgbot   
2010-06-14 16:18   
Repository: erp/devel/pi
Changeset: 37271534c60dd6129752ff93ef638fba16017775
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jun 14 16:18:28 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/37271534c60dd6129752ff93ef638fba16017775 [^]

Fixes issue 0013636: If the same accounting schema is assigned for more than one org, a vendor is created with many entries on the accounting tab
Making the condition that checks whether new accounts must be added or not based on the status field more precise. One case was missing when status is NULL

---
M src-db/database/model/triggers/C_BPARTNER_TRG.xml
---
(0028378)
adrianromero   
2010-06-14 16:23   
* Steps to test

Follow the steps to test taking into account to have at least one record in the table C_BP_Vendor_Acct with status NULL that was the condition that was not checked previously

* Other areas affected

This change affects all processes that involves creation or modification of Business partners, and also the related issues can be affected by this change and have to be verified again that with this new changeset the related issues are not broken.
(0028379)
psarobe   
2010-06-14 16:38   
Regression introduced by 12225
(0028409)
hudsonbot   
2010-06-15 05:44   
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/37271534c60d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f7644da65496 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17606.obx [^]
(0028415)
arunkumar   
2010-06-15 07:33   
After following the steps to reproduce I can see only one line in Vendor Accounting tab.

Tested working fine