Ignore:
Timestamp:
Dec 9, 2009, 4:36:55 AM (10 years ago)
Author:
gav
Message:

Complete functionality for inventory movement types other than "Used".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/InventoryMovementService.groovy

    r225 r226  
    117117            if(result.inventoryMovementInstance.validate()) {
    118118                def inventoryItem = InventoryItem.lock(result.inventoryMovementInstance.inventoryItem.id)
    119                 result.taskId = result.inventoryMovementInstance.task.id
     119                result.taskId = result.inventoryMovementInstance.task?.id
    120120
    121121                if(!inventoryItem) {
Note: See TracChangeset for help on using the changeset viewer.