Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013731Openbravo ERP09. Financial managementpublic2010-06-22 17:092010-07-14 00:00
psarobe 
balamurugan 
urgentmajoralways
closedfixed 
5
2.50MP18 
2.50MP20 
Core
No
0013731: Cashbook accounting tab: Trigger is not working well
The ad_org_tree is not taking into dependencies for the whole branch, I mean, from up to down

This is the scenario:

(*)
 |------Main (COA spain)
          |
          |-----Spain
          |-----USA (COA of USA)

If I create a cash book for USA, in the accounting tab is just inserting the COA of USA but it should insert the COA of Spain as well

The same happens but it is even worse when you create a cash book for Spain because it's not inserting the COA of Spain
Create this scenario:


(*)
 |------Main (COA spain)
          |
          |-----Spain
          |-----USA (COA of USA)

1. Go to Financial management->Receivables and payables->Setup
2. Create a cash book for organization Spain. Save. Move to Accounting tab and realized that there is no data. There should be a record for the COA of Spain
3. Create a cash book for organization USA. Save. Move to accounting tab and realized that there is only one record and it is the one for COA of USA, but there should be one more the one for COA Spain
No tags attached.
Issue History
2010-06-22 17:09psarobeNew Issue
2010-06-22 17:09psarobeAssigned To => dalsasua
2010-06-22 17:10psarobeStatusnew => scheduled
2010-06-22 17:10psarobefix_in_branch => pi
2010-07-07 09:09balamuruganAssigned Todalsasua => balamurugan
2010-07-07 14:02hgbotCheckin
2010-07-07 14:02hgbotNote Added: 0029127
2010-07-07 14:02hgbotStatusscheduled => resolved
2010-07-07 14:02hgbotResolutionopen => fixed
2010-07-07 14:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/683e3aa728a6a365d478cb85c52a37c7c12171a1 [^]
2010-07-10 11:23hudsonbotCheckin
2010-07-10 11:23hudsonbotNote Added: 0029199
2010-07-13 12:20sureshbabuNote Added: 0029252
2010-07-13 12:20sureshbabuStatusresolved => closed
2010-07-14 00:00anonymoussf_bug_id0 => 3029173

Notes
(0029127)
hgbot   
2010-07-07 14:02   
Repository: erp/devel/pi
Changeset: 683e3aa728a6a365d478cb85c52a37c7c12171a1
Author: Balamurugan Ramadoss <balamurugan.ramadoss <at> openbravo.com>
Date: Wed Jul 07 17:30:59 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/683e3aa728a6a365d478cb85c52a37c7c12171a1 [^]

Fixes Bug 13731: Cashbook accounting tab:Trigger isn't working well

---
M src-db/database/model/triggers/C_CASHBOOK_TRG.xml
---
(0029199)
hudsonbot   
2010-07-10 11:23   
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/683e3aa728a6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8cb9c6ccb2e4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17829.obx [^]
(0029252)
sureshbabu   
2010-07-13 12:20   
verified, its working fine