Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variant prices do not apply to subsequent #32625

Open
julbroa opened this issue Jan 11, 2025 · 0 comments
Open

Variant prices do not apply to subsequent #32625

julbroa opened this issue Jan 11, 2025 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@julbroa
Copy link

julbroa commented Jan 11, 2025

Bug

Bug
when creating the variant of a product, in the case of the first variant if the percentage variation assigned to it is applied but already in the following variants even if a percentage variation is assigned, the price of this (and the other variants) appears in 0s

Dolibarr Version

20.0.3

Environment PHP

8.2.15

Environment Database

10.11.11-MariaDB

Steps to reproduce the behavior and expected behavior

Expected and actual behavior
Expected:
When generating subsequent variants, these should be able to show the price that was assigned to them and thus, when used in invoices or point of sale, show the value of the price.
Current:
When generating the first variant, it correctly shows the assigned sales price, but subsequent variants appear in sales price in 0s

Steps to reproduce the behavior
create a product
Create a variant and assign it a percentage price change relative to the parent product. This will appear with the sale price calculated by the percentage
Create a second variant and assign it a percentage price variance relative to the parent product. This appears in 0 in terms of sale price

Attached files

image
image
image

@julbroa julbroa added the Bug This is a bug (something does not work as expected) label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant