Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/5/14, 4:09 PM|
|Seen: 2019 times|
|Last updated: 3/16/15, 8:10 AM|