Fix bug when marking batch as executed.
Not sure why that ever worked, actually?
This commit is contained in:
		
							parent
							
								
									bf49f30fff
								
							
						
					
					
						commit
						46c3750d38
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -700,7 +700,7 @@ class BatchCrud(BaseCrud): | |||
|         else: | ||||
|             if result: | ||||
|                 batch.executed = datetime.datetime.utcnow() | ||||
|                 batch.executed_by = self.request.user | ||||
|                 batch.executed_by = session.merge(self.request.user) | ||||
|                 session.commit() | ||||
|             else: | ||||
|                 session.rollback() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar