Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.47k stars 2.8k forks source link

Wrong product status in Buy Price and sell price page #25647

Open BlueGarm opened 1 year ago

BlueGarm commented 1 year ago

Bug

On dolibarr 18 there is a problem with the statuses on the Sales and Purchase Price pages.

If a product is "On Buy", the Buy Price page is available, but if it is "Not On Sell" at the same time, both statuses are "inactive".

FireShot Capture 226 - Produit Chips - Fiche - demo dolibarr org

FireShot Capture 227 - Produit Chips - Prix d'achat - demo dolibarr org

If a product is "On Sell" but "Not On Buy", it is still possible to add a buy price, and both statuses are "active".

FireShot Capture 224 - Produit PP-001 - Fiche - demo dolibarr org

FireShot Capture 225 - Produit PP-001 - Prix d'achat - demo dolibarr org

Visible bugs on the shared test platform

Environment Version

18

Environment OS

No response

Environment Web server

No response

Environment PHP

No response

Environment Database

No response

Environment URL(s)

https://demo.dolibarr.org/product/fournisseurs.php?id=619, https://demo.dolibarr.org/product/fournisseurs.php?id=30

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

W1W1-M commented 11 months ago

Seems to work as wanted in v19.

Hystepik commented 22 hours ago

Works for me in last version of 18