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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058067
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts Combominoralways2025-02-25 12:362025-03-18 09:44
Reporterferran_nicasiView Statuspublic 
Assigned ToBimla_vm 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Merge Request Statusopen
Review Assigned To
OBNetwork customerGold
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058067: Adding a combo yields error

DescriptionIf the field combo fixed price is not filled properly, when adding a Combo of type Fixed price, you get an error:

Cannot read properties of null (reading scale)

Steps To Reproduce1. In the Discount and Promotions window.
2. Configuring one promotion to be of the type Combo Fixed Price.
3. Add a couple of families, each with 3,4 products each.
3. Leave empty the field Combo Fixed Price, which is not mandatory.
4. On WebPOS, when you add a couple of products to the combo, then finish the process of the wizard, you get the error message and not all products are added.

Don't know the amount calculations performed, but some products might work and interact differently between them, creating the error in different instances.
Proposed Solution*It has the same name the discount type and the field but are two separate things.*

The field "Combo Fixed Price" Should be mandatory when the discount type is of type Combo Fixed Price.



Add an event observer to verify that field is filled when combo Fixed Price is selected
TagsNo tags attached.
Attached Filespng file icon Screenshot 2025-02-24 170526.png [^] (135,811 bytes) 2025-02-25 12:36

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0176920)
hgbot (developer)
2025-03-18 09:44

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/75 [^]

- Issue History
Date Modified Username Field Change
2025-02-25 12:36 ferran_nicasi New Issue
2025-02-25 12:36 ferran_nicasi Assigned To => Retail
2025-02-25 12:36 ferran_nicasi File Added: Screenshot 2025-02-24 170526.png
2025-02-25 12:36 ferran_nicasi OBNetwork customer => Gold
2025-02-25 12:36 ferran_nicasi Triggers an Emergency Pack => No
2025-03-14 10:57 guilleaer Severity major => minor
2025-03-14 10:57 guilleaer Assigned To Retail => guilleaer
2025-03-14 10:57 guilleaer Status new => acknowledged
2025-03-14 10:58 guilleaer Proposed Solution updated
2025-03-14 10:58 guilleaer Proposed Solution updated
2025-03-14 12:12 Bimla_vm Assigned To guilleaer => Bimla_vm
2025-03-14 12:12 Bimla_vm Status acknowledged => scheduled
2025-03-18 09:44 hgbot Merge Request Status => open
2025-03-18 09:44 hgbot Note Added: 0176920


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker