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.
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".
If a product is "On Sell" but "Not On Buy", it is still possible to add a buy price, and both statuses are "active".
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