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've Working on Image Customize module in odoo v9.
For some reason, my code, that used to working, is now having trouble in .py file. balck screen shows me error just like below:
Traceback (most recent call last):
File "/home/ayaz/workspace/odoo-9.0_latest/openerp/addons/base/ir/ir_attachment.py", line 151, in _file_read
r = open(full_path,'rb').read().encode('base64')
IOError: [Errno 2] No such file or directory: u'/home/cntn/.local/share/Odoo/filestore/v9_FSS_DB/00/009fe84ee464a909d233dde13a0156d0fed3782c'
In the database run the command, the number in like show in the log error, delete cod errors
"public"."ir_attachment"."store_fname" LIKE '%9739bf1f391e10051ed840fef5b341f9351d0536%'
odoo needs create the "odoo" system user, the calls for file temp redirects to: /opt/odoo in your log
have :home/cntn/ the files existing in /opt/odoo, run the process with user "odoo"
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
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/17/15, 10:06 AM|
|Seen: 2954 times|
|Last updated: 2/9/16, 1:47 AM|