Changes

m
Line 46: Line 46:     
* Can edit a shipment when in draft mode. Move form used in create mode into the edit draft page. Add a button to switch (one warehouse / all warehouse) ?
 
* Can edit a shipment when in draft mode. Move form used in create mode into the edit draft page. Add a button to switch (one warehouse / all warehouse) ?
* Rename option "Closed" into "Shipped" Add option "Decrease real stocks on shipping classification to Closed / Shipped" when the lot module is active. When the module "Lot" is on, you must be able to enter the batches and change quantity before going to closed/shipped.
+
* When the module "Lot" is on, you must be able to enter the batches and change quantity before going to closed/shipped.
 
* Make it possible to modify the number shipped when the shipment is in "Validated" status. It will then be possible to create good shipments WITHOUT an order, serving as a preparation order without an order ?
 
* Make it possible to modify the number shipped when the shipment is in "Validated" status. It will then be possible to create good shipments WITHOUT an order, serving as a preparation order without an order ?
   −
== With the hidden option WORKFLOW_BILL_ON_SHIPMENT (not supported, unstable) ==
+
== Using the hidden option WORKFLOW_BILL_ON_SHIPMENT (not supported, unstable) ==
If the hidden option WORKFLOW_BILL_ON_SHIPMENT is set, the Closed step is replaced by Billed.
+
With v18-: If the hidden option WORKFLOW_BILL_ON_SHIPMENT is set, the Closed step is replaced by Billed.
 
   
<pre>
 
<pre>
 
Draft (0) --X--> Validated (1) ---> Invoiced (2)
 
Draft (0) --X--> Validated (1) ---> Invoiced (2)
 
</pre>
 
</pre>
   −
 
+
With v19+: Workflow is the same, no change into the label of status, when value is set to 0 of not defined (default). If set to 1, then, it is no more possible to create an invoice from the order (can be done from the shipment only).
TODO This option should disappear in favor of a separation of ClassifyBilled and ClassifyClosed which must be de-correlated.
  −
 
  −
It requires:
  −
* Addition of an invoiced field / status (apart) called "billed" in the shipment table.
      
== Note ==
 
== Note ==