order icon indicating copy to clipboard operation
order copied to clipboard

Unable to edit order after status is changed to Validated.

Open AHinMaine opened this issue 6 years ago • 4 comments

I can't figure out the appropriate way to edit an Order once it's been placed in Validated status. It appears to be enforced in the code:

https://github.com/pluginsGLPI/order/blob/develop/inc/order.class.php#L162-L169

So, once an order status has been changed to Validated status, how do I change it to "Being delivered" or one of the other remaining statuses?

I'm running glpi 9.4.3 with orders 2.5.1 installed. I'm logged in as admin with Super-Admin profile. I confirmed in the Admin/Profiles/Super-Admin page, under Orders all items are checked. (All items on all tabs are checked for the Super-Admin profile.)

Am I doing something wrong, or am I really just limited to "Draft" or "Waiting for approval" status for my Orders?

AHinMaine avatar Jul 03 '19 17:07 AHinMaine

Same issue on my side but either with validated or not the order can not be edited in super-admin or other profiles. Any solution?

enumanc avatar Aug 04 '19 11:08 enumanc

Haven't found anything myself. For now, I've taken the easy way out and gone into the dropdown list for Order status and renamed the items. So now they appear as:

  • Approved
  • DONOTUSE (Being delivered)
  • DONOTUSE (Canceled)
  • DONOTUSE (Delivered)
  • DONOTUSE (Paid)
  • DONOTUSE (Validated)
  • Waiting for approval

Lame... but I didn't want to risk breaking anything by removing those options completely since they also appear in orders plugin settings under the "Order lifecycle" section. The one I named "Approved" is id 1, which I think was "Draft" by default.

AHinMaine avatar Aug 05 '19 14:08 AHinMaine

Hello Same issue for me Thanks for your help

yalgva avatar Dec 23 '19 10:12 yalgva

here to... This needs improvement. Maybe a option to enable/disable the lock-feature via configuration page?

vollkommenIrrelevant avatar Aug 26 '21 13:08 vollkommenIrrelevant