Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012590Openbravo ERP01. General setuppublic2010-03-08 10:332010-04-19 21:11
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
20Community Appliance
2.50MP12 
2.50MP14 
Core
No
0012590: error to save a new record in withholding account tab
To save a new record in withholding account tab, the next error is returned:
    
Error:
You have not filled in all needed fields
Master Data Management || Business Partner Setup || Withholding || Withholding:
. save new record
Master Data Management || Business Partner Setup || Withholding || Withholding >> Withholding Account
. save new record

error is returnded
No tags attached.
Issue History
2010-03-08 10:33networkbNew Issue
2010-03-08 10:33networkbAssigned To => adrianromero
2010-03-08 16:05jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-08 18:32psarobeStatusnew => scheduled
2010-03-08 18:32psarobeNote Added: 0025151
2010-03-08 18:32psarobefix_in_branch => pi
2010-03-08 18:33psarobeNote Edited: 0025151bug_revision_view_page.php?bugnote_id=0025151#r141
2010-03-08 18:37adrianromeroNote Added: 0025152
2010-03-25 07:38harikrishnanAssigned Toadrianromero => harikrishnan
2010-03-25 07:40hgbotCheckin
2010-03-25 07:40hgbotNote Added: 0025714
2010-03-25 07:40hgbotStatusscheduled => resolved
2010-03-25 07:40hgbotResolutionopen => fixed
2010-03-25 07:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/93b909990b3289df240709b719a51a81663961bd [^]
2010-03-25 07:42harikrishnanNote Added: 0025715
2010-04-01 07:18arunkumarNote Added: 0025851
2010-04-01 07:18arunkumarStatusresolved => closed
2010-04-02 00:00anonymoussf_bug_id0 => 2980800
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026385

Notes
(0025151)
psarobe   
2010-03-08 18:32   
(edited on: 2010-03-08 18:33)
Hi,

1. The problem is that the tab is not properly configured so it's not working well. You can notice that because suddenly you can see the audit...
2. Meanwhile the workaround would be instead of removing the record, update it

(0025152)
adrianromero   
2010-03-08 18:37   
There already exists a constraint that does not allow to have more than one withholding account per withholding.

To fix the issue there is only needed to review the tab probably in the following direction:
* remove the oncreated date from the user interface. It is an audit field
* change the witholding field values because it is the field from the parent tab. It has to be readonly and marked as a search field.
(0025714)
hgbot   
2010-03-25 07:40   
Repository: erp/devel/pi
Changeset: 93b909990b3289df240709b719a51a81663961bd
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Mar 25 12:18:39 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/93b909990b3289df240709b719a51a81663961bd [^]

Fixes issue 12590: error to save a new record in withholding account tab.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0025715)
harikrishnan   
2010-03-25 07:42   
Steps to Test:

*Withholding field is changed to read only mode.
*Creation Date field is removed from UI.
*Position of the Active field goes to last.
(0025851)
arunkumar   
2010-04-01 07:18   
Tested & working fine
(0026385)
hudsonbot   
2010-04-19 21:11   
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/93b909990b32 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]