pluginsGLPI / order

Order plugin for GLPI
GNU General Public License v3.0
40 stars 45 forks source link

Difference in buy date behavior in infocom for a computer between adding and updating #171

Open amma35 opened 6 years ago

amma35 commented 6 years ago

Difference in buy date behavior in infocom for a computer between adding and updating.

That is, after creating an order and a received material, I will generate the object with the massive action "Generate associated material" in the tab "Associated item".

The object is well created, financial information also with the fields "Order date", "Delivery date", "Order number" and "Value".

When I want to modify another field, for example criticities business, I get the error "Some fields can be modified because they belong to an order" while I haven't modified any field related to the plugin.

After checking, it also checks the "buy_date" field which is empty because it isn't added to the creation and therefore this field doesn't correspond to the date of the order.

Why is this field not added to the object creation to avoid this error message?

Thanks