Openbravo Issue Tracking System - Retail Modules
View Issue Details
0058067Retail ModulesDiscounts Combopublic2025-02-25 12:362025-02-25 12:36
ferran_nicasi 
Retail 
urgentmajoralways
newopen 
5
main 
 
No
0058067: Adding a combo yields error
If 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)

1. 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.
*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.

No tags attached.
png Screenshot 2025-02-24 170526.png (135,811) 2025-02-25 12:36
https://issues.openbravo.com/file_download.php?file_id=20957&type=bug
png
Issue History
2025-02-25 12:36ferran_nicasiNew Issue
2025-02-25 12:36ferran_nicasiAssigned To => Retail
2025-02-25 12:36ferran_nicasiFile Added: Screenshot 2025-02-24 170526.png
2025-02-25 12:36ferran_nicasiTriggers an Emergency Pack => No

There are no notes attached to this issue.