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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058279
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2025-03-18 18:162025-03-25 13:54
ReporterfofarrilView Statuspublic 
Assigned Tofofarril 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0058279: 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€ or apply a 100% discount to a product with a price greater than 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 Filespng file icon Error.png [^] (92,810 bytes) 2025-03-18 18:16

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005828025Q1.1 closedfofarril Error when making a verified return of a product at price = 0€ 
depends on backport 005828124Q4.2 closedfofarril Error when making a verified return of a product at price = 0€ 

-  Notes
(0176987)
hgbot (developer)
2025-03-19 14:27

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

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

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

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: fa4472657e434317a92650a3510ad23113b53e4d
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 25-03-2025 13:54:26
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/fa4472657e434317a92650a3510ad23113b53e4d [^]

Fixes ISSUE-58279: 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
---
(0177231)
hgbot (developer)
2025-03-25 13:54

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: 5833384af596e2a20958b63eac8be9a44d49442c
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 25-03-2025 13:54:31
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/5833384af596e2a20958b63eac8be9a44d49442c [^]

Fixes ISSUE-58279: 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
---
(0177232)
hgbot (developer)
2025-03-25 13:54

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

- Issue History
Date Modified Username Field Change
2025-03-18 18:16 fofarril New Issue
2025-03-18 18:16 fofarril Assigned To => Retail
2025-03-18 18:16 fofarril File Added: Error.png
2025-03-18 18:16 fofarril OBNetwork customer => No
2025-03-18 18:16 fofarril Triggers an Emergency Pack => No
2025-03-18 18:16 fofarril Assigned To Retail => fofarril
2025-03-18 18:17 fofarril Steps to Reproduce Updated View Revisions
2025-03-18 18:19 fofarril Status new => scheduled
2025-03-18 18:21 fofarril Steps to Reproduce Updated View Revisions
2025-03-19 14:27 hgbot Merge Request Status => open
2025-03-19 14:27 hgbot Note Added: 0176987
2025-03-19 14:30 hgbot Note Added: 0176988
2025-03-24 13:14 hgbot Merge Request Status open => approved
2025-03-25 13:54 hgbot Note Added: 0177229
2025-03-25 13:54 hgbot Resolution open => fixed
2025-03-25 13:54 hgbot Status scheduled => closed
2025-03-25 13:54 hgbot Fixed in Version => RR25Q2
2025-03-25 13:54 hgbot Note Added: 0177230
2025-03-25 13:54 hgbot Note Added: 0177231
2025-03-25 13:54 hgbot Note Added: 0177232


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker