How to Configure Odoo With Pycharm
HTML-код
- Опубликовано: 22 авг 2019
- #configureodoopycharm #odoopycharm
Steps to configure Odoo13 with Pycharm for the Odoo development. In the video illustrating how the Odoo13 is configured with the Pycharm. Steps to configure odoo with pycharm for odoo development. Install and configure odoo and pycharm
Get Free 100 USD Credit in Digital Ocean Sign UP: m.do.co/c/9fce3870468c
Full Digital Ocean Videos: • 200$ Free Credits | Di...
Odoo 15: • How To Configure Odoo1...
Website: www.odoomates.tech/
Instgram: / odoomates
Github: github.com/odoomates
Email : odoomates@gmail.com
Facebook: / odoomate
Twitter: / odoomates
Support Us in Ko Fi : ko-fi.com/odoomates Наука
For those who Face issue with "The config file 'odoo.conf' selected with -c/--config do" , see this Solution: ruclips.net/video/rG6yo9kQ7LU/видео.html
ko-fi.com/odoomates
Hi ! Odoo Mates, I like yours job.
when I want to create a data base on the browser, I got this error. please help me
2020-08-12 10:23:35,630 16594 ERROR test2 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/service/server.py", line 439, in app
return self.app(e, s)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/service/wsgi_server.py", line 142, in application
return application_unproxied(environ, start_response)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/service/wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 1287, in __call__
return self.dispatch(environ, start_response)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 1257, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.8/dist-packages/werkzeug/wsgi.py", line 766, in __call__
return self.app(environ, start_response)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 1457, in dispatch
result = ir_http._dispatch()
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_http.py", line 238, in _dispatch
return cls._handle_exception(e)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_http.py", line 206, in _handle_exception
return request._handle_exception(exception)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 750, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_http.py", line 234, in _dispatch
result = request.dispatch()
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 809, in dispatch
r = self._call_function(**self.params)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 342, in checked_call
result.flatten()
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 1236, in flatten
self.response.append(self.render())
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/http.py", line 1229, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_ui_view.py", line 1177, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_ui_view.py", line 1080, in get_view_id
return view and view.id or self.env['ir.model.data'].xmlid_to_res_id(template, raise_if_not_found=True)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_model.py", line 1690, in xmlid_to_res_id
return self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)[1]
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_model.py", line 1681, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/kaly-7/odoo-dev/odoo-13.0/odoo/addons/base/models/ir_model.py", line 1670, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
Need to see the code
Odoo Mates I didn’t write the code. I just apply what you show on your video. At the step to create new data base on the browser, I received this error when I clicked on “create data base” button
Hi... I follow all steps but need to add all default addons in custom module????so we can find odoo-bin....i instlled in c: drive....or elseLit confused
This video is great! Still relevant for Odoo 15 and overall you explained it great! Love the Summary at the end btw
thanks brother
hey do i just write odoo 14 instead of 13 for odoo 14 configration?
Very helpful video! Thanks!
I can't thank you enough man. this video helped me a lot.
Happy that it helped :)
Please help me alsoo
Please help me alsoo
@@meenakshisingh4331 im still learning. but i would like to help
Keep up the good work
welcome brother
A very useful tutorial
Glad you think so!
thank you sooo much
welcome :)
فيديو رائع شكرا جزيلا
أهلا بك. آمل أن تعجبك وتشترك في القناة وأن تحيل القناة إلى أصدقائك.
hi Odoo Mates,
is the odoo folders that shows in 2:37 are installed in your linux machine? or is it just a file that downloaded from odoo official and extracted out?
downloaded/cloned from odoo github
Thank you, it worked well
welcome brother
Please help me also as I am facing some errors
@@meenakshisingh4331 let me know what issue you face. email: odoomates@gmail.com
useful tip
:)
A very useful tutorial. Thanks
Please can u help me to configuy
Configure
@@meenakshisingh4331 sure
Soo can u please send your contact number
As I am trying for one month
Thank uuu sooo much for ur videos...please I instaled odoo 13 from the official web site and I have the odoo.conf file inside the server folder..should I configure it there without touching the addons's config file ??
try with it or try as we shown
First, thank you for this tutorial. My question is, without copying odoo.conf from the debian folder, where can I find the default configuration of Odoo out of the box? Thanks.
You can create a new file
/etc/odoo/odoo.conf
Hi guys, do you use docker? How do you configure pycharm to use docker odoo image?
merci pour votre effort mais pour moi le fichier odoo.conf existe deja dans odoo 13 mais ce n'est pas la meme syntaxe que le fichier odoo.conf de debian. Qu est ce que je doit faire dans ce cas et merci
you can just edit and add the necessary parameters into it
I'd like to add temporality to my stages on my CRM app, but I´m still a junior developer. Please can you help me saying what video I must to watch. thank you!!
Inherit the state selection field in model, add new field to it and show it in the view also
ruclips.net/video/lPHWsw3Iclk/видео.html
ruclips.net/video/4tlfzy-ZtMQ/видео.html
@@OdooMates Thank you so much!!
Hello first thank you for this video my question is that I'm working on windows environment how can configure pycharm on it for odoo thanks for your help
you can download pycharm in windows and follow the same steps for the configuration
Hello,
I did install my odoo 13 in /opt so it seems to be read only and a lock symbol appears on folders in pycharm ?
how can I manage that ?
Try with this command .. sudo chmod 777 -R folder name
@@OdooMates done ! .. the lock goes away .. thank u !
thank you for this video.
please my problème is : The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
you can help me.
Thanks.
which os ? any hints in odoo log ?
I actually created a project in pycharm and configured with odoo and it runs is that a must that i should open odoo13 folder in pycharm and configure
Is there any issue u facw with configuration ?
Odoo Mates nope i configured and it run properly bt i didnt configure the odoo folder with pycharm does it cause any issue
Odoo Mates nope it run properly bt i want to know is there any problem if i dont configure the odoo 13 folder with pycharm and one more doubt is that i have two conf files one in server folder and one in debian folder which one should i configure
No chance of issues..but if you add source code...it will be easy for you to check source code for reference and Checking existing code..
The conf file will be taken from the path that you specified in pycharm run Configuration
Hey, Can anyone tell me the reason for this error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Thanks
Dear,
If my dev environment is not on the same Odoo server.
How to connect Pycharms ?
Best regards,
for this you have to use Pycharm Professional
I already have an odoo.conf with more information so if i past i am gonna to replace it. What should i do ?
Just copy it and paste it some where as backup and continue
After getting experience in odoo for a year do we get opportunities in amazon or google?
It depends on their requirement and your skills
@@OdooMates So What you suggest me to do other than odoo and how should i built those requirement and skills they required ?
@@sk-hc2mf I think better you look their careers page and plan accordingly
@@OdooMates okay and thx
Please help me also configure
Dear sir playlist arranged in sequence . Which video see first plz guide
It is in order brother, see odoo 15 playlist
@@OdooMates thanks a lot sir for quick reply.
Yes i check that playlist 189 devlopment tutorials.
Sir i am C# developer ,but getting new job as a odoo developer. Hopes this playlist have complete dev tutorial. Sir its mandatory to learn python for odoo
Yes ;) you can start with first few videos and hopefully it will be easy and u can catchup with odoo soon
when i am trying to open postgres using the command in terminal it shows that sudo command doesn't exist,
as per the discussion with you, i think it has been solved right
@@OdooMates how?
from where i download the folder odoo, I see on odoo site and I not find it
From here: github.com/odoo/odoo
Can u please create a video from where I can download and install step by step. or can u please share a link.
for downloading odoo: github.com/odoo/odoo
does using window use it the same?
yes, you can follow the same in windows too, with necessary adjustment between ubuntu and windows
I try this on windows and cant install it.What I wil used instead part 'sudo su postgres' and 'createuser .....' this is linux command
we are not good in windows, what you have to do is, just create a postgres user
i love you
We also :)
i configer pychem with odoo12 in windows 8, but i cant restart odoo and also not getting print values in terminal need help.
what happens when you try restarting ?
tell me what the terminal name to launch the pycharm in this video?
this is the default terminal in ubuntu, to get it it, click Control + T
Is that a must to create a postgres user then only run the project i did without that
it depends on the postgres configuration
Odoo Mates how can i add user in postgres using the postgres application
@@OdooMates I added 000 also u please check it again
@@OdooMates I am not able to contact u
I am getting error: " Clear Read-Only Status" , and unable to save . How to resolve it?
will this help ? ruclips.net/video/rG6yo9kQ7LU/видео.html
wher did you get this odoo master ,,,is have any tutorial???...
Hi, odoo master can be download from github by switching into the master branch. see: github.com/odoo/odoo/tree/master
please he show me that error :
Usage: odoo-bin [options]
odoo-bin: error: The config file 'odoo.conf' selected with -c/--config doesn't exist or is not readable, use -s/--save if you want to generate it
ruclips.net/video/rG6yo9kQ7LU/видео.html
Can i run pip install -r requirements.txt for install in pycharm env?????
path_to_virtual_env -r requirment.txt
Will you share about how to launch PyCharm as root?
What is the use case of it ?
Hi bro, Does it work with windows also? Trying for almost 2 days now, with another tutorail, unfortunatley not able to get it working, showing internal server error after all setup is completed. pls help, let me know what changes will be there in windows instead of ubuntu.. can't find any proper windows guide,,. have been searching so long.. pls help
Even i tried to work with windows 7 and encountering the same problem.. please help to conf internal server error.
What issue u face ?
@@OdooMates , showing internal server error after all setup is completed, can you make a windows tutorial please?
Also, are you available for paid customization, please let me know, thanks
@@ViralVideoMalayalam Yes you can connect us in odoomates@gmail.com
hello odoo mates, i have installed pycharm with python 3.6 and it gives No module named 'PyPDF2 error although i have installed this package but no luck than i have installed python 3.7 and it gives No module named 'psycopg2._psycopg error which i have searched internet and no luck so i have to install python 2.7 ?
Cross check and ensure in which version the pypdf2 package is installed? it might be in other python version
@@OdooMates i m getting this error odoo.modules.module: Couldn't load module web although i have set addons path as u mentioned
@@iplaygames9837 can you add web_modules = web,web_kanban in the conf file and see
@@OdooMates Same issue here, already added web_modules, please help;
addons_path = /usr/local/Linux/PyProjects/odoo/addons
web_modules = /usr/local/Linux/PyProjects/odoo/addons/web
2020-07-31 15:03:26,294 17931 CRITICAL ? odoo.modules.module: Couldn't load module web
2020-07-31 15:03:26,294 17931 CRITICAL ? odoo.modules.module: cannot import name 'crop_image'
2020-07-31 15:03:26,294 17931 ERROR ? odoo.service.server: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
I'm stuck. THX.
for odoo 14, it requires master password and it always deny my database creation
you can get master password from here: ruclips.net/video/SJlM6jUslxk/видео.html
sir once I Install the odoo14 after some resign uninstall again i install the odoo then gives error like 500 Internal server error so how to resolve?
did you checked the log file ?
ruclips.net/video/hzs9okjDzio/видео.html
@@OdooMates yes sir but given errors
@@abdulwajid5800 what is the error in the log ?
@@OdooMates same problem sir.... Log file said..... Not connect to port 5432
Hi do you have a group I can join?
Yes we do have a whatsapp group: chat.whatsapp.com/FxMcqthyWUtE9I1URhvUTO
ERROR: Could not find a version that satisfies the requirement odoo (from versions: none)
ERROR: No matching distribution found for odoo
python 3.8 pip 23.0.1 odoo 16
When you get this error
@@OdooMates its okay i solved it, was a bunch of files missing about python3-dev package and others
@@BCorredato you can install missing package from terminal or from the pycharm
ruclips.net/video/nmFcWFX8ABc/видео.html
Usage: odoo-bin [options]
odoo-bin: error: The config file 'odoo.conf' selected with -c/--config doesn't exist or is not readable, use -s/--save if you want to generate it
this is error i am receiving , I am using mac for pycharm for odoo development and latest checkout from git
Did you added odoo.conf file ?
@@OdooMates same error is also coming in my Pycharm and i have added odoo.conf file
@@rayyanaamir4761 we can connect over screen sharing applications and make it ready for u
@@rayyanaamir4761 Solved ?
@@OdooMates no plz let me know when you are free to
morrow.
createuser: error: could not connect to database template1: FATAL: Peer authentication failed for user "postgres"
I couldn't create the username
did you created a postgres user and set password in odoo conf file ?
Thx I figured it out
Glad that you resolved it
I really appreciate the way you interact with us
@@hamoudman423 thanks brother
Traceback (most recent call last):
File "C:\odoo\odoo-17.0\odoo-bin", line 5, in
import odoo
File "C:\odoo\odoo-17.0\odoo\__init__.py", line 125, in
from . import modules
File "C:\odoo\odoo-17.0\odoo\modules\__init__.py", line 8, in
from . import db, graph, loading, migration, module, registry, neutralize
File "C:\odoo\odoo-17.0\odoo\modules\db.py", line 4, in
from psycopg2.extras import Json
ModuleNotFoundError: No module named 'psycopg2'
how can solve this issue
configuration with vscode please?
We haven't done any video with vs code, not comfortable with pycharm ?
Use pycharm, searching odoo tutorial itself is hard
cannot find odoo master
Hi,
i have installed odoo and pycharm in macOS but i am unable to get the code of odoo third party apps , when go to addons/custom_module show file was loaded in the wrong encoding UTF-8 ,can you guide me see image for reference ibb.co/mqVkbyD
Thanks
sir what is this error?
ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
install pil package and see