Ignore:
Timestamp:
Oct 29, 2009, 8:30:58 PM (15 years ago)
Author:
gav
Message:

Substantial refactor of the Inventory domain.
InventoryItems can now be added to tasks, no quantity adjustments done yet.
Removed StoredItem and with it the ability to store an inventoryItem in multiple places, just too complex right now.
Svn move StoreLocation to InventoryLocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/InventoryMovementController.groovy

    r116 r175  
    2727        if(inventoryMovementInstance) {
    2828            try {
    29                 inventoryMovementInstance.delete()
     29                inventoryMovementInstance.delete(flush:true)
    3030                flash.message = "InventoryMovement ${params.id} deleted"
    3131                redirect(action:list)
     
    7777        else {
    7878            flash.message = "InventoryMovement not found with id ${params.id}"
    79             redirect(action:edit,id:params.id)
     79            redirect(action:list)
    8080        }
    8181    }
Note: See TracChangeset for help on using the changeset viewer.