Skip to content

Comments

FIX: products with a single price by qty may have empty price when adding it in a commercial piece#33509

Merged
eldy merged 4 commits intoDolibarr:developfrom
jyhere:jyhere/fix-pbq-singleprice
Mar 24, 2025
Merged

FIX: products with a single price by qty may have empty price when adding it in a commercial piece#33509
eldy merged 4 commits intoDolibarr:developfrom
jyhere:jyhere/fix-pbq-singleprice

Conversation

@jyhere
Copy link
Contributor

@jyhere jyhere commented Mar 18, 2025

How to reproduce the bug :

  • set MAIN_FEATURE_LEVEL = 2
  • Activate Price by quantity in Product module settings
  • activate the ajax search product feature in Product module settings
  • Activate Price by quantity in the product sell tab, add only one price by quantity (e.g for quantity 1).
  • Create an order. In the product search box, search for the full product reference to get only 1 result (=> no option is shown is the select2 component).
  • The price is 0.

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Mar 19, 2025
@jyhere jyhere requested a review from eldy March 21, 2025 14:30
@eldy eldy merged commit ad5102e into Dolibarr:develop Mar 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Discussion Some questions or discussions are opened and wait answers of author or other people to be processed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants