Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006761
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2008-12-30 17:462009-01-02 10:17
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision11619
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.5
OS VersionUbuntu 8.04Database versionSEAnt version1.7
Product VersionpiSCM revision11610 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006761: Problems into the organization's combobox for document's lines

DescriptionWhen you are trying to create a document with several lines, sometimes it is impossible to select the same organization of the document's header for the lines.

The windows affected by this bug are the ones that use the "AD_Org show child organizations" validation rule for the organization's combobox.
Steps To ReproduceFor example:

1- As Openbravo Admin, go to Financial Management || Assets || Amortization || Header and create a new record for the organization B
2- Create a new line. You will see the following organizations: B, B1, B11, B12 and B2, i.e., the header's organization and its children (that's OK).
3- Select B12 and save the line.
4- Create a new line. Then it will just appear B12. That it is the bug because it should appear the same organizations as the previous line.
Proposed SolutionThe "AD_Org show child organizations" validation rule uses the session variable @AD_Org_ID@ from the document's header. The problem is that the organization field of the lines is also stored as session variable; so, to fix it, we must not store the organization field of the lines as session variable.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011775)
vmromanos (manager)
2008-12-30 17:51

To know exactly which tabs are affected by this bug, we can use the following SQL query:

select t.description
from ad_column c, ad_table t
where c.ad_table_id=t.ad_table_id
and c.ad_val_rule_id IN (select ad_val_rule_id from ad_val_rule where name like '%child%');

Order Line
General Ledger Journal
General Ledger Journal Line
Production Plan
Statement Line
Cash Line
Shipment Line
Inventory Count Line
Define Move Line
Produt balance on the work effort
Invoice line
Debt payment generate
Amortization Line
Debt Payment Management Lines
Remittance Lines
(0011777)
svnbot (reporter)
2008-12-30 21:27

Repository: openbravo
Revision: 11619
Author: vmromanos
Date: 2008-12-30 21:26:50 +0100 (Tue, 30 Dec 2008)

Fixed bug 6761: Problems into the organization's combobox for document's lines.

---
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
U trunk/src-db/database/sourcedata/AD_TAB.xml
U trunk/src-db/database/sourcedata/AD_TABLE.xml
U trunk/src-db/database/sourcedata/AD_WINDOW.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11619&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-12-30 17:46 vmromanos New Issue
2008-12-30 17:46 vmromanos Assigned To => vmromanos
2008-12-30 17:46 vmromanos sf_bug_id 0 => 2477410
2008-12-30 17:46 vmromanos Regression testing => No
2008-12-30 17:47 vmromanos Status new => scheduled
2008-12-30 17:47 vmromanos fix_in_branch => trunk
2008-12-30 17:51 vmromanos Note Added: 0011775
2008-12-30 21:27 svnbot Checkin
2008-12-30 21:27 svnbot Note Added: 0011777
2008-12-30 21:27 svnbot Status scheduled => resolved
2008-12-30 21:27 svnbot Resolution open => fixed
2008-12-30 21:27 svnbot svn_revision => 11619
2009-01-02 10:17 krishna Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker