Make workorder/optical pre-sale respect inventory

* Make optical pre-sale respect open inventory, that is, if there's one open,
  don't let the user do any pre-sales. Also, instead of changing the new menu
  click behaviour, add an option to it for the "Optical pre-sale", now called
  "Sale with work order".
* Make workorder respect open inventory by not letting the user do do any
  execution on it, exactly like production does. Make the maintenance app add
  the inventory bar to be explicit for the user.

Change-Id: Ia749ae9cd5c7da877995c0adcedc16a63b63d5c9
Fixes: http://bugs.async.com.br/show_bug.cgi?id=5532