Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029545Openbravo ERP09. Financial managementpublic2015-04-08 20:212015-04-15 18:52
umartirena 
umartirena 
immediateminoralways
closedfixed 
5
 
3.0PR15Q2 
eduardo_Argal
Core
Production - QA Approved
2014-09-23
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
No
0029545: 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.0PR15Q2
2015-04-10 10:06dmitry_mezentsevTag Attached: Approved
2015-04-15 18:51hgbotCheckin
2015-04-15 18:51hgbotNote Added: 0076570
2015-04-15 18:51hgbotStatusscheduled => resolved
2015-04-15 18:51hgbotResolutionopen => fixed
2015-04-15 18:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/81916300940096d667e1a3f87c571bf56eb8dfe8 [^]
2015-04-15 18:52eduardo_ArgalReview Assigned To => eduardo_Argal
2015-04-15 18:52eduardo_ArgalNote Added: 0076571
2015-04-15 18:52eduardo_ArgalStatusresolved => closed

Notes
(0076570)
hgbot   
2015-04-15 18:51   
Repository: erp/backports/3.0PR15Q2
Changeset: 81916300940096d667e1a3f87c571bf56eb8dfe8
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Apr 14 18:56:15 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/81916300940096d667e1a3f87c571bf56eb8dfe8 [^]

Fixes bug 29545: 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
---
(0076571)
eduardo_Argal   
2015-04-15 18:52   
Code Reviewed and tested. Now dates are copied