im trying to create and process a new move traceability in warehouse, after creating it i can´t process the same move
my code is some thing like that:
create new move
id=self.pool.get('stock.move').create(cr, uid, values, context=context)
processing the move with the same id
but i get an error:
AttributeError: 'NoneType' object has no attribute 'state'
any help, thx in advance
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/20/14, 12:13 PM|
|Seen: 1293 times|
|Last updated: 3/16/15, 8:10 AM|