Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041954Openbravo ERP07. Sales managementpublic2019-10-08 20:032019-12-12 23:01
lbressan 
markmm82 
urgentminoralways
closedfixed 
5
3.0PR19Q3 
3.0PR20Q1 
Sandrahuguet
Core
No
0041954: Amount field refreshed to zero in Add Payment into sales orders
When we try to apply a payment to any order, the Amount field in Add payment windows is auto filled but when the transaction type is changed the Amount field i is refreshed to $0.
If we click on Order Number the Amount field is auto-filled again.
1) Go to Sales Order windows.
2) Select a register and click the Add Payment button.
3) Here the Amount field is filled ok.
4) On the Add Payment Windows, change the transaction type from "Orders" to "Orders and Invoices" using the Transaction Type selector
5) Now the Amount field value is $0


attach the video--> salesO_amt.mp4
No tags attached.
? salesO_amt.mp4 (984,110) 2019-10-08 20:03
https://issues.openbravo.com/file_download.php?file_id=13354&type=bug
Issue History
2019-10-08 20:03lbressanNew Issue
2019-10-08 20:03lbressanAssigned To => Triage Finance
2019-10-08 20:03lbressanFile Added: salesO_amt.mp4
2019-10-08 20:03lbressanModules => Core
2019-10-08 20:03lbressanResolution time => 1571695200
2019-10-08 20:03lbressanTriggers an Emergency Pack => No
2019-10-09 08:11SandrahuguetAssigned ToTriage Finance => markmm82
2019-10-09 08:30rafarodaIssue Monitored: rafaroda
2019-10-11 03:40markmm82Statusnew => scheduled
2019-10-11 13:30SandrahuguetSeveritymajor => minor
2019-10-16 03:30markmm82Note Added: 0115098
2019-10-24 17:27ngarciaResolution time1571695200 => 1572303600
2019-11-05 09:47hgbotCheckin
2019-11-05 09:47hgbotNote Added: 0115402
2019-11-05 09:47hgbotStatusscheduled => resolved
2019-11-05 09:47hgbotResolutionopen => fixed
2019-11-05 09:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ebd16c18d76569718c2c05580220cc54ddc15c0c [^]
2019-11-05 09:57SandrahuguetReview Assigned To => Sandrahuguet
2019-11-05 09:57SandrahuguetNote Added: 0115403
2019-11-05 09:57SandrahuguetStatusresolved => closed
2019-11-05 09:57SandrahuguetFixed in Version => 3.0PR20Q1
2019-12-12 23:01hudsonbotCheckin
2019-12-12 23:01hudsonbotNote Added: 0116272

Notes
(0115098)
markmm82   
2019-10-16 03:30   
Test Plan:
1) Go to Sales Order windows.
2) Create a new one, complete and click the Add Payment button.
3) Notice the Amount field is filled ok with the total amount to paid.
4) Change the transaction type from "Orders" to "Orders and Invoices" using the Transaction Type selector
5) Notice the Amount field value is the total amount to paid.
(0115402)
hgbot   
2019-11-05 09:47   
Repository: erp/devel/pi
Changeset: ebd16c18d76569718c2c05580220cc54ddc15c0c
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Tue Oct 15 22:22:32 2019 -0300
URL: http://code.openbravo.com/erp/devel/pi/rev/ebd16c18d76569718c2c05580220cc54ddc15c0c [^]

Fixes issue 41954: Edited selected records refreshed after gid is reloaded in
Add Payment process

When the Transaction Type option is changed the Order/Invoices grid is reloaded
and the records are removed and loaded with possible changes according selected
option. To fire all the amounts updation logic is fire the doSelection event on
edited selected records of the grid, and this action will update the amounts with
the correct values.

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0115403)
Sandrahuguet   
2019-11-05 09:57   
code review + testing ok
(0116272)
hudsonbot   
2019-12-12 23:01   
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/954d2b7a66fb [^]
Maturity status: Test