Changeset 205
- Timestamp:
- Dec 1, 2009, 3:45:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/InventoryMovementDetailedController.groovy
r191 r205 34 34 else { 35 35 if(result.inventoryMovementInstance) { 36 // For some reason we have to call refresh() here to get a hibernate session 37 // and avoid a lazy initialisation error. 38 render(view:'show',model:[inventoryMovementInstance:result.inventoryMovementInstance.refresh()]) 36 render(view:'show',model:[inventoryMovementInstance:result.inventoryMovementInstance.attach()]) 39 37 } 40 38 else {
Note: See TracChangeset
for help on using the changeset viewer.