Installation of Odoo 16 with Visual Studio Code along with Configuration

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 69

  • @swordfish800
    @swordfish800 8 днів тому +1

    Hi There, I am unable to configure oddo18 with Visual Studio 2022 can you please help

    • @odooistic
      @odooistic  4 дні тому

      hi have you watched this video ua-cam.com/video/69-x2tquQBo/v-deo.html this is how you do it thanks

  • @prashanth_b_k
    @prashanth_b_k Рік тому +2

    Hi, I am not able to create/get the launch.json file after selecting python

    • @odooistic
      @odooistic  Рік тому

      Hi Prashanth it usually happens when you have not installed python properly. i will recommend to uninstall everything and follow video again , i believe it will resolve for you if not then we can have a small session. thanks

    • @danielpopa8346
      @danielpopa8346 Рік тому +1

      Did you solve it?, i facing with the same problem, did you fiind the solution?

  • @oswaldoz10
    @oswaldoz10 2 роки тому +1

    thanks, cheers from Venezuela.

    • @odooistic
      @odooistic  2 роки тому

      You are most welcome my friend

  • @hanafa01
    @hanafa01 Рік тому

    Thank you for this video!

    • @odooistic
      @odooistic  Рік тому

      Thanks so much for your comment and support! I'm thrilled to hear that you enjoyed the video.

  • @danielpopa8346
    @danielpopa8346 8 місяців тому

    hi i have this error
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
    psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "openpg"

    • @odooistic
      @odooistic  8 місяців тому

      you need to look at your .conf file for password, its password authentication failed

  • @raliawan1
    @raliawan1 11 місяців тому

    Hi, I hope you are doing well. I am not able to generate the launch.json file. I am using Odoo 17, VS Code 1.86.1, and Python 3.11.8. When I click on Run -> Add configuration, it shows me Python debugger -> Python file. However, clicking on it does nothing.

    • @abbasaldawood2811
      @abbasaldawood2811 11 місяців тому +1

      just run vscode as administrator

    • @odooistic
      @odooistic  11 місяців тому +3

      Sorry for late reply i was actually away for some days.
      Manually Creating launch.json for Odoo
      Open Your Project in VS Code: Make sure your Odoo project folder is open in VS Code.
      Access the .vscode Folder:
      Navigate to the .vscode folder at the root of your project in the Explorer pane. If it doesn't exist, you'll need to create it.
      Inside the .vscode folder, look for a launch.json file. If it doesn't exist, create it by right-clicking in the Explorer pane, selecting "New File", and naming it launch.json.
      Edit launch.json:
      Open launch.json and add the necessary configuration for running Odoo. i have added the json code so you can copy and paste it in here

    • @WhiteFalcon_EA
      @WhiteFalcon_EA 11 місяців тому

      @@abbasaldawood2811 It worked on me thanks man.

  • @rose8950
    @rose8950 Рік тому

    The terminal keeps showing as "Is the server running on host "local host"(::1) and accepting TCP/IP connections on port 5432 ? " Why ???

    • @odooistic
      @odooistic  Рік тому

      i think reinstalling Odoo 16 will resolve this issue, have you checked if you changed port when you installed Odoo 16? I suggest uninstall odoo16 and postgres and then install Odoo 16 , postgres will also be installed along with that. thx

  • @moncefridaoui6038
    @moncefridaoui6038 Рік тому +1

    Thank you bro, really helped me out

  • @amarairum2943
    @amarairum2943 Рік тому

    I 'v checked but I don't have to display my addons account file. my addons folder empty

    • @odooistic
      @odooistic  Рік тому

      Hi Amara , i am sorry i could not understood your question well. you mean to give custom adons path? it will be great if you provide more details that would be great thanks

  • @vishnus9117
    @vishnus9117 10 місяців тому

    heyy hii, that's fantastic. but for me the while running debug configuration, the python file is not displayed. what to be done??

    • @odooistic
      @odooistic  10 місяців тому +1

      First, ensure that the launch.json file is correctly set up for Odoo development. if not then you can just create and paste the code attched in description. Make sure the correct Python interpreter is selected for the project. Odoo development typically requires a specific Python version, and ensuring VS Code is using the right interpreter is crucial:
      Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
      Type and select Python: Select Interpreter.
      Choose the interpreter that matches the one used by your Odoo development environment.
      also make sure the path of python is also right. i hope this will resolve your issue

    • @vishnus9117
      @vishnus9117 10 місяців тому

      @@odooistic yeah the error had been justified thanks .
      but i also have a doubt. why do we need to comment the odoo.log file

    • @odooistic
      @odooistic  10 місяців тому +2

      ​@@vishnus9117 Commenting out or removing the logfile parameter in odoo.conf prevents Odoo from writing logs to a file. This does not stop Odoo from logging; it merely stops the logging to the specified file, allowing you to rely on other logging mechanisms.

  • @desmondkitsi
    @desmondkitsi 2 роки тому +1

    This video is very helpful but the
    Vcode configuration file not available for download.

    • @odooistic
      @odooistic  2 роки тому

      Thanks for liking the video, yes ok i will upload configuration file today . Cheers

    • @odooistic
      @odooistic  2 роки тому

      I have uploaded config file. please change python path in that file according to your odoo dir path. thanks

  • @jaimeclark2345
    @jaimeclark2345 Рік тому

    Bro i followed the same steps but it gives me modulenotfounderror: no module named 'odoo'
    cannot start the server please help :c

    • @odooistic
      @odooistic  Рік тому

      so sorry for late reply, actually iwas away for someday , ok The ModuleNotFoundError: No module named 'odoo' error in Python typically indicates that the Python environment you're using to run Odoo does not have the Odoo module installed or cannot locate it. please check if you have given python path correctly in .json file and also give addons path in odoo.conf file.

  • @DelsanAnthony
    @DelsanAnthony Рік тому +1

    Can you do this with wsl with vscode? along with the debugging guide?

    • @odooistic
      @odooistic  Рік тому

      I am working now on that video and definately upload in coming days

    • @DelsanAnthony
      @DelsanAnthony Рік тому

      @@odooistic That's great! I'm looking forward to it.

    • @DelsanAnthony
      @DelsanAnthony Рік тому

      @@odooistic Thank you for providing great materials, for us who are new to Odoo.

  • @kishanpatiradj1070
    @kishanpatiradj1070 2 роки тому

    the config file we cannot download it anymore, can you check it please?

    • @odooistic
      @odooistic  2 роки тому

      hi Kishan i have updated downloading path on youtube video and its a github path, you can download from there. sorry for inconvenience.

  • @zakidjellouli364
    @zakidjellouli364 Рік тому

    it says "odoo-bin server: error: no such option: --config-C:\Users\user\Desktop\odoo_16\server\odoo.conf" can you help me bro ?

    • @odooistic
      @odooistic  Рік тому

      The error message you mentioned indicates that the odoo-bin server cannot find the specified configuration file.
      Double-check the path: Ensure that the odoo.conf file exists at the specified location: C:\Users\user\Desktop\odoo_16\server\odoo.conf. Make sure there are no typos in the path and that the file is accessible.
      check all path aswell

    • @mr.raider744
      @mr.raider744 Рік тому

      @@odooistic wait where do I change the file path ? (all I have is "--config=${workspaceRoot}\\odoo.conf")

  • @kishanpatiradj1070
    @kishanpatiradj1070 2 роки тому

    After debugging i get a : python path in your debug config is invalid, please help me?

    • @odooistic
      @odooistic  2 роки тому

      Hi, Kishan please recheck your python path in your launch.json file. Please recheck if thats right python path

    • @kishanpatiradj1070
      @kishanpatiradj1070 2 роки тому

      Bro can you maybe help me configuring this via teamvieuwer for me, because i can not do it?

    • @odooistic
      @odooistic  2 роки тому

      @@kishanpatiradj1070 ok no problem, will let you know

    • @kishanpatiradj1070
      @kishanpatiradj1070 2 роки тому

      @@odooistic hi bro , when you can help me please?

    • @odooistic
      @odooistic  2 роки тому +1

      @@kishanpatiradj1070 hi Kishan please email me your skype id on odooistic@gmail.com, i will contact you. cheers.

  • @fardiansyah718
    @fardiansyah718 Рік тому

    i dont have odoo.conf in the folder

    • @odooistic
      @odooistic  Рік тому

      so sorry for this. i will update this today and will let you know thanks

    • @fardiansyah718
      @fardiansyah718 Рік тому

      @@odooistic many thanks

  • @aldoparducci1507
    @aldoparducci1507 8 місяців тому +1

    Thanks!!!

  • @tahirmughal9775
    @tahirmughal9775 2 роки тому

    launch.json file not creating automatically

    • @odooistic
      @odooistic  2 роки тому

      make sure that python has been installed and you see python version in your vscode on bottom left or bottom right side. and dont forget to open any python file as i said in the video

    • @odooistic
      @odooistic  2 роки тому

      if still u are having issues let me know, thxx

    • @tahirmughal9775
      @tahirmughal9775 2 роки тому

      @@odooistic yes, python 3.10.8 64 bit and account_account_tag is opened

    • @odooistic
      @odooistic  2 роки тому

      @@tahirmughal9775 after opening the file when you click run menu then choose add configuration file, when you click add configuration , it will create launch file. if not then create .vscode folder and the launch.json file

    • @KaboKeboletse
      @KaboKeboletse 2 роки тому +5

      I had this problem.
      What worked for me was to close VSC and ran it again as administrator

  • @johnjosephcuyag9781
    @johnjosephcuyag9781 Рік тому

    how to enable developer mode?

    • @odooistic
      @odooistic  Рік тому

      Hello @John . if you click on settings andin settings just scroll to the bottom then you will see Click on link "Active the developer mode" or "Active the developer mode (with assets)" , just click on any. thanks

    • @odooistic
      @odooistic  Рік тому

      another way when you write in url Original:
      odoo:8069/web
      Debug:
      odoo:8069/web?debug
      Debug with assets:
      odoo:8069/web?debug=assets

  • @aymanejuyi9087
    @aymanejuyi9087 2 роки тому

    thanks , great video !

    • @odooistic
      @odooistic  2 роки тому

      thanks so much for your message. I am glad u like it.

  • @rose8950
    @rose8950 Рік тому

    Database creation denied

    • @odooistic
      @odooistic  Рік тому

      hello Rose, Both of the errors you mention are related to database creation. I would suggest that uninstalling PostgreSQL and odoo 16 and then install odoo 16 from the start along with postgres. when you download please don't change a thing for example port etc

  • @kit-kit-kittty2911
    @kit-kit-kittty2911 Рік тому +1

    can you help in odoo enterprise setup, of course we will pay for this (or community setup with activation of required module) and import data from sql database (visual infor erp) to odoo database. Please let me know if you are interested as freelancing job, we have urgent requirement. Please share your email id if you are interested.

    • @odooistic
      @odooistic  Рік тому

      hi, sorry was bit busy in some other's clients job setup. please can you send me requirements in this email : odooistic@gmail.com and i will reply you asap. thx

  • @mbarkbakkar6031
    @mbarkbakkar6031 Рік тому

    thanks , great video !

    • @odooistic
      @odooistic  Рік тому

      thanks so much. really appreciate