Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-03-18 09:302019-03-28 19:51
ReporterasiermartirenaView Statuspublic 
Assigned Toasiermartirena 
PriorityurgentResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revision9a1d664d23e0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0040400: Errors while creating payment terms in Web POS

DescriptionWhen a partially paid invoice is created generating credit for a business partner that has a payment term that must be paid in different times, the payment schedule details were being generated with wrong amounts.
Also, if one of the payment term lines was a 'rest' payment line, a negative payment schedule was being generated for the invoice with the same amount to the 'rest' payment term but with different sign.
Steps To ReproduceAssign a payment term with different lines to a business partner. One of those lines must be 'rest'.
Synchronize a partially paid ticket with the configured bp in the Web POS using the 'Use Credit' button or with a prepayment that generates an invoice.

Check that the details are set with wrong amount.
Check that the generated payment schedules in the invoice are not correct. There's a payment schedule with the same amount to the rest payment term, but in negative.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2019-03-18 12:21

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9a1d664d23e043289730f9c9897f14fb5b42e208
Author: Asier Martirena <asier.martirena <at>>
Date: Mon Mar 18 09:47:07 2019 +0100
URL: [^]

Fixed issue 40400: Fixed errors when creating payment terms

PSD amount are now correctly set.
The outstanding amount is correctly updated. A a payment was in awaiting execution, the paid and outstanding amount is correctly maintained.
If a payment term line was a 'rest' line, now a wrong payment term line is not created.

M src/org/openbravo/retail/posterminal/utility/
hgbot (developer)
2019-03-18 14:10

Repository: tools/automation/pi-mobile
Changeset: fe033ba71c884943d9fb0779b67be67597041e75
Author: Asier Martirena <asier.martirena <at>>
Date: Mon Mar 18 14:08:56 2019 +0100
URL: [^]

Related to issue 40400: Updated automated test

M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/

- Issue History
Date Modified Username Field Change
2019-03-18 09:30 asiermartirena New Issue
2019-03-18 09:30 asiermartirena Assigned To => asiermartirena
2019-03-18 09:30 asiermartirena Triggers an Emergency Pack => No
2019-03-18 12:21 hgbot Checkin
2019-03-18 12:21 hgbot Note Added: 0110470
2019-03-18 12:21 hgbot Status new => resolved
2019-03-18 12:21 hgbot Resolution open => fixed
2019-03-18 12:21 hgbot Fixed in SCM revision => [^]
2019-03-18 14:10 hgbot Checkin
2019-03-18 14:10 hgbot Note Added: 0110478
2019-03-28 19:51 marvintm Review Assigned To => marvintm
2019-03-28 19:51 marvintm Status resolved => closed
2019-03-28 19:51 marvintm Fixed in Version => RR19Q2

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker