Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058280
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2025-03-18 18:162025-03-25 13:56
ReporterfofarrilView Statuspublic 
Assigned Tofofarril 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version25Q1.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058280: Error when making a verified return of a product at price = 0€

DescriptionWhen doing a verified return of a product at price = 0€, the following error message appear 'Cannot convert undefined or null to object'.
Steps To ReproduceIn backoffice
-In 'Vall Blanca Store' organization the property "Rules for Returns" needs to be set to "One Original Order in one single return" and the property "Rules for Sales and Return lines" needs to be set to "Allow to mix lines only if the total amount is 0" or "Not allow to mix lines".
-In Channel Touchpoint -> Payment Type -> Payment Method set property 'Allowed PMs for Refund' different of 'All' and set some items of 'PM for Refund' tab.
-Configure a product with price equal 0€.

POS2
-In POS, make a sale of a product with price = 0€
-Go to Orders and make a verified return of the product with price = 0€


Current behavior : The following error message appears and it is not possible to make the return

Expected results : the return should be possible even price of product = 0€
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0058279 closedfofarril Error when making a verified return of a product at price = 0€ 

-  Notes
(0176989)
hgbot (developer)
2025-03-19 14:40

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1980 [^]
(0176990)
hgbot (developer)
2025-03-19 14:41

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/75 [^]
(0176991)
hgbot (developer)
2025-03-19 14:45

Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/75 [^]
(0176992)
hgbot (developer)
2025-03-19 14:47

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/76 [^]
(0177233)
hgbot (developer)
2025-03-25 13:56

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1980 [^]
(0177234)
hgbot (developer)
2025-03-25 13:56

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c4fc48d13749d658f87a33c73e8582eec28ff3fb
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 25-03-2025 13:56:02
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c4fc48d13749d658f87a33c73e8582eec28ff3fb [^]

Fixes ISSUE-58280: Error when making a verified return of a product at price = 0€

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0177235)
hgbot (developer)
2025-03-25 13:56

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: e71bc6ce5750d74cf04ea0f156ff3d5a2d059acf
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 25-03-2025 13:56:08
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/e71bc6ce5750d74cf04ea0f156ff3d5a2d059acf [^]

Fixes ISSUE-58280: Error when making a verified return of a product at price = 0€

---
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/utils/Validations.js
---
(0177236)
hgbot (developer)
2025-03-25 13:56

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/76 [^]

- Issue History
Date Modified Username Field Change
2025-03-18 18:19 fofarril Type defect => backport
2025-03-18 18:19 fofarril Target Version => 25Q1.1
2025-03-19 14:40 hgbot Merge Request Status => open
2025-03-19 14:40 hgbot Note Added: 0176989
2025-03-19 14:41 hgbot Note Added: 0176990
2025-03-19 14:45 hgbot Note Added: 0176991
2025-03-19 14:47 hgbot Note Added: 0176992
2025-03-21 13:07 hgbot Merge Request Status open => approved
2025-03-25 13:56 hgbot Note Added: 0177233
2025-03-25 13:56 hgbot Resolution open => fixed
2025-03-25 13:56 hgbot Status scheduled => closed
2025-03-25 13:56 hgbot Fixed in Version => RR25Q1.1
2025-03-25 13:56 hgbot Note Added: 0177234
2025-03-25 13:56 hgbot Note Added: 0177235
2025-03-25 13:56 hgbot Note Added: 0177236


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker