Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029546Openbravo ERP09. Financial managementpublic2015-04-08 20:212015-04-14 19:53
umartirena 
umartirena 
immediateminoralways
closedfixed 
5
 
3.0PR15Q1.3 
Core
Production - QA Approved
2014-09-23
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
No
0029546: Accounting Date is not updated when changing Transaction Date in Transaction tab under Financial Account
Accounting Date is not updated when changing Transaction Date in Transaction tab under Financial Account.

This happens in Transaction tab and in Add Transaction process definition that is opened from Match Statement window.
In live builds as Group Admin role:
* Go to Financial Account window, transaction tab.
* Add new record and change Transaction Date.

Realize that Accounting Date is not updated with the same date.

* Go to Financial Account window. Select "Bank - Account 1".
* Go to Imported Bank Statements tab. Create a Header.
* Create a Bank Statement Line. Amount Out 10. Process it.
* Click on Match Statement. Press cancel in the displayed popup.
* Select the previously created line and click on Add Transaction.
* Change Transaction Date.

Realize that Accounting Date is not updated with the same date.
Approved
blocks defect 0029534 closed umartirena Accounting Date is not updated when changing Transaction Date in Transaction tab under Financial Account 
Issue History
2015-04-09 10:47umartirenaTypedefect => backport
2015-04-09 10:47umartirenaTarget Version => 3.0PR15Q1.3
2015-04-10 10:07dmitry_mezentsevTag Attached: Approved
2015-04-14 19:49hgbotCheckin
2015-04-14 19:49hgbotNote Added: 0076544
2015-04-14 19:49hgbotStatusscheduled => resolved
2015-04-14 19:49hgbotResolutionopen => fixed
2015-04-14 19:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/f0b7363516f295c6c6ec94aab334cd5cb57abb46 [^]
2015-04-14 19:53eduardo_ArgalNote Added: 0076545
2015-04-14 19:53eduardo_ArgalStatusresolved => closed

Notes
(0076544)
hgbot   
2015-04-14 19:49   
Repository: erp/backports/3.0PR15Q1.3
Changeset: f0b7363516f295c6c6ec94aab334cd5cb57abb46
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Apr 14 19:04:24 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/f0b7363516f295c6c6ec94aab334cd5cb57abb46 [^]

Fixes bug 29546: Accounting Date is updated when Transaction Date changes

A callout has been added in Transaction Date field of transaction tab under Financial Account.

An onchange function has been added in Transaction Date in Add Transaction Process Definition.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addTransaction.js
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SE_StatementDate_Transaction.java
---
(0076545)
eduardo_Argal   
2015-04-14 19:53   
Code Reviewed and tested