Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024866Openbravo ERPZ. Otherspublic2013-10-02 12:492014-03-17 16:50
maite 
AtulOpenbravo 
highminoralways
closedfixed 
5
 
3.0PR14Q2pi 
maite
Advanced Payables and Receivables Mngmt
No
0024866: Preference "IsCustomerBalanceRestored" should be created in UpdateCustomerBalance modulescript
Preference "IsCustomerBalanceRestored" should be created in UpdateCustomerBalance modulescript instead of be defined in AD_PREFERENCE.xml
1. Access "Preference" window as System Administrator and try to delete "IsCustomerBalanceRestored" preference
2. Following error will be raised "Cannot insert/delete objects in a module not in development."
Preference should be created at System client but not related to "Advanced Payables and Receivables Mngmt" module (module field should be empty)
No tags attached.
depends on defect 0025469 closed AtulOpenbravo API Change request to remove preference IsCustomerBalancedRestored from Advance Payable and Receivable Module 
related to defect 0028979 closed aferraz UpdateCustomerBalance modulescript is wrongly calculating the Current Balance 
Issue History
2013-10-02 12:49maiteNew Issue
2013-10-02 12:49maiteAssigned To => dmiguelez
2013-10-02 12:49maiteModules => Advanced Payables and Receivables Mngmt
2013-10-02 12:49maiteTriggers an Emergency Pack => No
2013-10-02 12:50maiteIssue Monitored: networkb
2013-10-02 18:22dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-11-18 16:23jonalegriaesarteTarget Version3.0MP30 => 3.0MP31
2013-12-23 12:38pramakrishnanAssigned Tojonalegriaesarte => AtulOpenbravo
2013-12-23 12:38pramakrishnanStatusnew => scheduled
2014-01-02 12:38jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-13 07:12AtulOpenbravoReview Assigned To => maite
2014-01-13 07:12AtulOpenbravoNote Added: 0063366
2014-01-13 07:17hgbotCheckin
2014-01-13 07:17hgbotNote Added: 0063367
2014-01-13 07:17hgbotStatusscheduled => resolved
2014-01-13 07:17hgbotResolutionopen => fixed
2014-01-13 07:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a40aa6c73c1a5f203eded778855aa0d05f958abd [^]
2014-01-13 08:05hgbotCheckin
2014-01-13 08:05hgbotNote Added: 0063368
2014-01-14 10:56hgbotCheckin
2014-01-14 10:56hgbotNote Added: 0063395
2014-01-14 10:56hgbotCheckin
2014-01-14 10:56hgbotNote Added: 0063396
2014-01-14 12:40AtulOpenbravoRelationship addedblocks 0025469
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063494
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063495
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063498
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063499
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063500
2014-01-19 10:05AtulOpenbravoRelationship deletedblocks 0025469
2014-01-19 10:06AtulOpenbravoRelationship addeddepends on 0025469
2014-01-19 10:08AtulOpenbravoStatusresolved => new
2014-01-19 10:08AtulOpenbravoResolutionfixed => open
2014-01-19 10:08AtulOpenbravoStatusnew => scheduled
2014-01-19 10:08AtulOpenbravofix_in_branch => pi
2014-01-19 10:35AtulOpenbravoNote Edited: 0063366bug_revision_view_page.php?bugnote_id=0063366#r5347
2014-01-21 07:13hgbotCheckin
2014-01-21 07:13hgbotNote Added: 0063552
2014-01-21 07:13hgbotStatusscheduled => resolved
2014-01-21 07:13hgbotResolutionopen => fixed
2014-01-21 07:13hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/a40aa6c73c1a5f203eded778855aa0d05f958abd [^] => http://code.openbravo.com/erp/devel/pi/rev/891eb3dfa81463ea252d6ce8dca2ebb4a3536635 [^]
2014-01-21 09:54maiteNote Added: 0063561
2014-01-21 09:54maiteStatusresolved => closed
2014-02-12 18:29hudsonbotCheckin
2014-02-12 18:29hudsonbotNote Added: 0064095
2014-02-27 07:35AtulOpenbravoNote Added: 0064640
2014-02-27 07:35AtulOpenbravoStatusclosed => new
2014-02-27 07:35AtulOpenbravoResolutionfixed => open
2014-02-27 07:35AtulOpenbravoStatusnew => scheduled
2014-03-04 10:41hgbotCheckin
2014-03-04 10:41hgbotNote Added: 0064787
2014-03-04 16:41hgbotCheckin
2014-03-04 16:41hgbotNote Added: 0064800
2014-03-05 12:36AtulOpenbravoStatusscheduled => resolved
2014-03-05 12:36AtulOpenbravoFixed in Version => pi
2014-03-05 12:36AtulOpenbravoResolutionopen => fixed
2014-03-05 16:09hudsonbotCheckin
2014-03-05 16:09hudsonbotNote Added: 0064844
2014-03-05 16:10hudsonbotCheckin
2014-03-05 16:10hudsonbotNote Added: 0064847
2014-03-17 16:50maiteNote Added: 0065233
2014-03-17 16:50maiteStatusresolved => closed
2015-02-18 13:15ngarciaRelationship addedrelated to 0028979

Notes
(0063366)
AtulOpenbravo   
2014-01-13 07:12   
(edited on: 2014-01-19 10:35)
Test Plan:-
- Do ant update.database or install.source or ant smartbuild -Dlocal=no after applying the fix.
- Login as System Adminstrator Role
- Check that IsCustomerBalanceRestored in Advance Payable Receivable module does not exist in preference window.
- If there is not preference for IsCustomerBalanceRestored, it preference is created and Module is set as NULL.

(0063367)
hgbot   
2014-01-13 07:17   
Repository: erp/devel/pi
Changeset: a40aa6c73c1a5f203eded778855aa0d05f958abd
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Sun Jan 12 17:01:46 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a40aa6c73c1a5f203eded778855aa0d05f958abd [^]

Fixes Issue 24866 Create preference IsCustomerBalanceRestored in ModuleScript

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PREFERENCE.xml
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.java
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java
---
(0063368)
hgbot   
2014-01-13 08:05   
Repository: erp/devel/pi
Changeset: 37763b78f2e462273d2a7e3704d7faf98c544ee5
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Jan 13 12:33:30 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/37763b78f2e462273d2a7e3704d7faf98c544ee5 [^]

Related to Issue 24866

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.class
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class
---
(0063395)
hgbot   
2014-01-14 10:56   
Repository: erp/devel/pi
Changeset: 1f5958d600fbbc621d4776f72e2e7e7aba28f659
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jan 14 15:21:56 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/1f5958d600fbbc621d4776f72e2e7e7aba28f659 [^]

Backout Issue 24866

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PREFERENCE.xml
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.java
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java
---
(0063396)
hgbot   
2014-01-14 10:56   
Repository: erp/devel/pi
Changeset: 4535a885ce86861f92a6edaecae91025a633d4eb
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jan 14 15:23:08 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/4535a885ce86861f92a6edaecae91025a633d4eb [^]

Backout Issue 24866 Related to Issue 24866

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.class
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class
---
(0063494)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test
(0063495)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test
(0063498)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test
(0063499)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test
(0063500)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test
(0063552)
hgbot   
2014-01-21 07:13   
Repository: erp/devel/pi
Changeset: 891eb3dfa81463ea252d6ce8dca2ebb4a3536635
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Sun Jan 19 15:56:50 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/891eb3dfa81463ea252d6ce8dca2ebb4a3536635 [^]

Fixes Issue 24866: Creates IsCustomerBalanceRestored preference in modulescript

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.class
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PREFERENCE.xml
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.java
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java
---
(0063561)
maite   
2014-01-21 09:54   
verified
(0064095)
hudsonbot   
2014-02-12 18:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d1a5bb862230 [^]
Maturity status: Test
(0064640)
AtulOpenbravo   
2014-02-27 07:35   
There is some problem in the fix. IsCustomerBalanceRestored preference is created everytime when we do ant smartbuild -Dlocal=no or update.database.
(0064787)
hgbot   
2014-03-04 10:41   
Repository: erp/devel/pi
Changeset: 438064e1336a946655787ae90393ca83f81c2551
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Feb 27 11:57:02 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/438064e1336a946655787ae90393ca83f81c2551 [^]

Related To Issue 24866

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.class
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance.java
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java
---
(0064800)
hgbot   
2014-03-04 16:41   
Repository: erp/devel/pi
Changeset: 5ccb08d7767d4d749e0564f2a0b8064a5c718cf5
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Mar 04 20:56:47 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5ccb08d7767d4d749e0564f2a0b8064a5c718cf5 [^]

Related to Issue 24866: value='Y' replaced by to_char('Y') in xsql

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.class
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalance_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateCustomerBalanceData.java
---
(0064844)
hudsonbot   
2014-03-05 16:09   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d34c34b81a92 [^]
Maturity status: Test
(0064847)
hudsonbot   
2014-03-05 16:10   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d34c34b81a92 [^]
Maturity status: Test
(0065233)
maite   
2014-03-17 16:50   
verified