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

Converting Customer Order to Supplier Order Uses Selling Price Instead of Buying Price #28962

Closed
Steph501 opened this issue Mar 19, 2024 · 2 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@Steph501
Copy link

Steph501 commented Mar 19, 2024

Bug

Problem Description

When converting a customer order into a supplier order, the product prices are incorrectly taken from the selling prices instead of the buying prices.

Expected Behavior
The prices of the products in the supplier order should be their buying prices.

Dolibarr Version

19

Environment PHP

8

Environment Database

No response

Steps to reproduce the behavior and expected behavior

  • Navigate to a customer order.
  • Click on "Create" then "Create purchase order".
  • Notice that the product prices in the supplier order correspond to the selling prices, not the buying prices.

Attached files

No response

@Steph501 Steph501 added the Bug This is a bug (something does not work as expected) label Mar 19, 2024
@ksar-ksar
Copy link
Contributor

Hello,

Can you write in English please ?

@Steph501 Steph501 changed the title Transformation commande client en commande fournisseur utilise prix de vente Converting Customer Order to Supplier Order Uses Selling Price Instead of Buying Price Mar 19, 2024
@sonikf
Copy link
Contributor

sonikf commented Mar 20, 2024

Hi @Steph501
I can confirm this bug

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

3 participants