Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022294Openbravo ERPZ. Otherspublic2012-11-14 12:092013-02-27 12:49
maite 
ioritzCia 
highminoralways
closedfixed 
5
 
3.0MP21 
Advanced Payables and Receivables Mngmt
No
0022294: Changing "Payment Date" should not launch "paymentDateOnChange" function when not working with multicurrency
Changing "Payment Date" should not launch "paymentDateOnChange" function when not working with multicurrency
1. Create Sales Order for any BP, Invoice terms= immediate, add any line and process.
2. Create Sales Order for same BP, Invoice terms= immediate, add any line and process.
3. Create Sales Invoice for same BP. Create Lines From and add lines of both orders. Process.
4. Press "Add Payment". Modify "Actual Payment" amount to cover only one of your orders. Verify that second order is not selected
5. Change "Payment Date" field, verify that AddPaymentFromInvoice.html has been reloaded and your second line has been selected showing "Out of range error".

"Payment Date" field launches "paymentDateOnChange(this)" javascript function on its "onchange" event due to multi currency reasons. When no working with multi currency, this function should not be launched.

Screenshot attached for reference
No tags attached.
png outrange.png (143,776) 2012-11-14 12:12
https://issues.openbravo.com/file_download.php?file_id=5727&type=bug
png
Issue History
2012-11-14 12:09maiteNew Issue
2012-11-14 12:09maiteAssigned To => dmiguelez
2012-11-14 12:09maiteModules => Advanced Payables and Receivables Mngmt
2012-11-14 12:10maiteIssue Monitored: networkb
2012-11-14 12:11maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4061#r4061
2012-11-14 12:12maiteFile Added: outrange.png
2012-11-14 16:46dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-09 11:32jonalegriaesarteTriggers an Emergency Pack => No
2013-01-09 11:32jonalegriaesarteTarget Version3.0MP19 => 3.0MP20
2013-01-24 11:20jonalegriaesarteTarget Version3.0MP20 => 3.0MP21
2013-02-12 10:20ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2013-02-12 10:35ioritzCiaStatusnew => scheduled
2013-02-12 10:35ioritzCiafix_in_branch => pi
2013-02-12 17:18hgbotCheckin
2013-02-12 17:18hgbotNote Added: 0056400
2013-02-12 17:18hgbotStatusscheduled => resolved
2013-02-12 17:18hgbotResolutionopen => fixed
2013-02-12 17:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dfeda939b698535f976edd804c42e94cebb4377d [^]
2013-02-20 04:50hudsonbotCheckin
2013-02-20 04:50hudsonbotNote Added: 0056587
2013-02-27 12:49maiteNote Added: 0056802
2013-02-27 12:49maiteStatusresolved => closed

Notes
(0056400)
hgbot   
2013-02-12 17:18   
Repository: erp/devel/pi
Changeset: dfeda939b698535f976edd804c42e94cebb4377d
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Feb 12 10:30:50 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dfeda939b698535f976edd804c42e94cebb4377d [^]

Fixes issue 22294: Changing 'Payment date' should not launch 'paymentDateOnChange'
function when not working with multicurrency.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.html
---
(0056587)
hudsonbot   
2013-02-20 04:50   
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/d828167a9e83 [^]

Maturity status: Test
(0056802)
maite   
2013-02-27 12:49   
verified