I have an issue where my python changes are not being picked up, even though I am restarting the server between edits.
The .pyc files are not, as they normally would be, in the same place as their .py counterparts. When I run the code, I get a python exception which shows the updated source, but is clearly not actually executing the source code which is being shown in the exception. If I could find the .pyc file I would delete it, but it isn't there.
To demonstrate the issue:
new_id = super(stock_move_too, self).create(cr, uid, vals, context=context)
UnboundLocalError: local variable 'stock_move' referenced before assignment
'stock_move' does not even exist as a variable anywhere in the source file, wherever the pyc file is, it's not being updated when the server restarts.
Can you please paste code of your custom module file.