Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028859Openbravo ERP07. Sales managementpublic2015-02-04 12:592016-02-02 09:36
Sandrahuguet 
Sandrahuguet 
immediateminorhave not tried
closedfixed 
20Community Appliance
 
 
aferraz
Core
Production - Confirmed Stable
2014-06-19
3.0PR14Q3
https://code.openbravo.com/erp/devel/pi/rev/f94f08e02e3a [^]
No
0028859: Distribute amount in add payment does not work correctly with more than one negative invoice
Distribute amount in add payment window does not work correctly with more than one negative invoice
Go to Sales invoice and create one with this data:
  -Organization: F&B US, Inc.
  -Transaction Document: Reversed Sales Invoice
  -Business Partner: Healthy Food Supermarkets, Co.
  -Lines: Pear Juice, Qty: -80
Create another sales invoice
  -Organization: F&B US, Inc.
  -Transaction Document: Reversed Sales Invoice
  -Business Partner: Healthy Food Supermarkets, Co.
  -Lines: Energy Drink, Qty: -100
Select the first invoice created and click on Add Payment
Notice that both invoices have been selected and the expected payment is wrong
No tags attached.
caused by feature request 0029391 closed Sandrahuguet Add Payment refactor project 
Issue History
2015-02-04 12:59SandrahuguetNew Issue
2015-02-04 12:59SandrahuguetAssigned To => Sandrahuguet
2015-02-04 12:59SandrahuguetModules => Core
2015-02-04 12:59SandrahuguetRegression level => Production - Confirmed Stable
2015-02-04 12:59SandrahuguetRegression date => 2014-06-19
2015-02-04 12:59SandrahuguetRegression introduced in release => 3.0PR14Q3
2015-02-04 12:59SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/f94f08e02e3a [^]
2015-02-04 12:59SandrahuguetTriggers an Emergency Pack => No
2015-02-05 11:49hgbotCheckin
2015-02-05 11:49hgbotNote Added: 0074222
2015-02-05 11:49hgbotStatusnew => resolved
2015-02-05 11:49hgbotResolutionopen => fixed
2015-02-05 11:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/15b7c23eed157e9db9a612523876213396121266 [^]
2015-02-05 12:55hgbotCheckin
2015-02-05 12:55hgbotNote Added: 0074225
2015-02-05 12:58aferrazReview Assigned To => aferraz
2015-02-05 12:58aferrazNote Added: 0074227
2015-02-05 12:58aferrazStatusresolved => closed
2015-02-06 15:42hudsonbotCheckin
2015-02-06 15:42hudsonbotNote Added: 0074256
2015-02-06 15:42hudsonbotCheckin
2015-02-06 15:42hudsonbotNote Added: 0074257
2015-02-11 09:42SandrahuguetNote Added: 0074348
2015-03-24 17:40aferrazRelationship addedcaused by 0029391
2016-02-02 09:36hgbotCheckin
2016-02-02 09:36hgbotNote Added: 0083817

Notes
(0074222)
hgbot   
2015-02-05 11:49   
Repository: erp/devel/pi
Changeset: 15b7c23eed157e9db9a612523876213396121266
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Feb 04 18:10:21 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/15b7c23eed157e9db9a612523876213396121266 [^]

Fixed issue 28859: Distribute amount in add payment does not work properly

Distribute amount in add payment window does not work
correctly with more than one negative invoice

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0074225)
hgbot   
2015-02-05 12:55   
Repository: erp/devel/pi
Changeset: c4f2df763a97eb97bf083ab44b0bfd7c5e5c5b3c
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Feb 05 12:51:09 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c4f2df763a97eb97bf083ab44b0bfd7c5e5c5b3c [^]

related to issue 28859 applied jsbeautifier

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0074227)
aferraz   
2015-02-05 12:58   
Code review + Testing ok
(0074256)
hudsonbot   
2015-02-06 15:42   
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/354f8004acc8 [^]
Maturity status: Test
(0074257)
hudsonbot   
2015-02-06 15:42   
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/354f8004acc8 [^]
Maturity status: Test
(0074348)
Sandrahuguet   
2015-02-11 09:42   
Test case added to testlink:

http://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8039 [^]
(0083817)
hgbot   
2016-02-02 09:36   
Repository: tools/automation/int
Changeset: a71c3d48c41c755aeb4c0a1b9878e1f95c07d545
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Sep 30 20:34:49 2015 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/a71c3d48c41c755aeb4c0a1b9878e1f95c07d545 [^]

Related to issue 28859: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/build.xml
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression28859In.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression28859Out.java
---