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.26k stars 2.73k forks source link

v16.0.3 - BUG Minor - Import of the products (PMP required) #24021

Open daxitsolutions opened 1 year ago

daxitsolutions commented 1 year ago

Bug

When importing product, the PMP is mandatory, it should be optional (and by default 0)

Column concerned : Prix moyen pondéré (PMP) (p.pmp)

Environment Version

v16.0.3

Environment OS

Debian

Environment Web server

Apache2

Environment PHP

7.4

Environment Database

MySQL

Environment URL(s)

http://xxxx/imports/import.php

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

AurelienBISOTTI commented 1 year ago

I believe that inventory valuation is a legal obligation for many companies. I'm not shocked that it's mandatory by default.

daxitsolutions commented 3 months ago

That's not mandatory in any way, should be optional.

eldy commented 1 month ago

I did not see any rule to have pmp mandatory in v19. Is this still true in v19 ? If yes, what happen if you fill the field with value '0' ? Can you make a screenshot of error ?