Installation of Odoo 15 with Visual Studio Code along with configuration

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 78

  • @sajjadrustam2857
    @sajjadrustam2857 2 роки тому +3

    Very informative and impressive,
    What a way of sum up , clear step by step easy to understand

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

    Thank you sir. Could you support me with the following problem:
    I caught a warning with launch.json file at the line
    "debugOptions": [
    "RedirectOutput"
    ]
    It said that Property debugOptions is not allowed.

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

      Update launch.json Configuration:
      The launch.json file is where you define configurations for debugging. Since debugOptions is not recognized, you likely need to adjust your configuration to match the current schema expected by Visual Studio Code.
      Here's a basic structure of what your launch.json might look like for a Python project (Odoo is typically a Python-based application):
      json
      Copy code
      {
      "version": "0.2.0",
      "configurations": [
      {
      "name": "Python: Odoo",
      "type": "python",
      "request": "launch",
      "program": "${workspaceFolder}/odoo-bin", // Adjust the path to your Odoo executable
      "console": "integratedTerminal",
      "args": [
      "--config", "path/to/your/odoo.conf", // Specify Odoo configuration file if needed
      // Other Odoo specific arguments can go here
      ]
      // You can add other necessary configurations here
      }
      ]
      }
      In this configuration:
      "program" should point to your Odoo executable (odoo-bin).
      "args" can include any command-line arguments you typically use to start Odoo, like specifying a configuration file.
      Remove the debugOptions Property:
      Since the debugOptions property is causing the issue and is not recognized, you should remove it from your configuration. Modern versions of the Python extension for Visual Studio Code and the debugger itself have incorporated many features directly, making some of the older options unnecessary.

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

      @@odooistic Thanks for your support !!

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

    great help . thank for the vide . anyone who not able to create the launch.json , just run vscode as administartor

  • @RajatKumar-ui4rv
    @RajatKumar-ui4rv 2 роки тому +1

    Excellent and to the point detailed descriptions. Very nice support thank you so much. God bless you

  • @nuwanfernando8044
    @nuwanfernando8044 2 роки тому +2

    Thanks this worked as expected

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

      how did you add the configurations in launch.json, it doesn't work with me!!

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

      Glad it helped

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

    This video is very interesting about odoo

  • @MuhammadRizwan-mg4ik
    @MuhammadRizwan-mg4ik 2 роки тому +1

    Very nice video

  • @KaiGao-xo2bk
    @KaiGao-xo2bk Рік тому +1

    Thank you sir. But why it's oddo-14 in the config file rather than 15? Are they compatible?

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

      Hai Kai Gao, Well in that file thats just the name, so it does'nt metter , by the way that was my bad not to change into Odoo 15. thanks for pointing out. cheers

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

    thanks. so, i can make or add new modules right?

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

      ofcourse you are ready sir 😀

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

    Thanks so much. Managed to follow through.

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

    Thanks more , does it for any version : 14,13?

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

      14 and 15 definitely work👍

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

      @@odooistic مشكور

  • @afeefarafath2903
    @afeefarafath2903 5 місяців тому +1

    Launch.json file not opening when i click add configuration

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

      Ensure the Python extension is installed and enabled in VS Code, se Ctrl+Shift+P and type Reload Window to reload VS Code. if its not working then Manually create a .vscode folder in your project directory, add a launch.json file, and paste the configuration above.

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

    Great 10/10.

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

    Thank You, but I have one question please: the proble0m of "Database creation error: FATAL: password authentication failed for user "openpg"" which appears in 10:43 (when your computer shows the time on 00:59) and you solved it (when the time is 01:59 on your computer) because I face this problem! Can you give me the solution please?

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

      me too

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

      yes i got an error and it was because of wrong configuration file content, so i did that process again and it resolved.

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

      @@odooistic How did you resolve that??

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

      Did the error get resolved?

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

    my odoo.conf file is too short and there is no file like that & after run the
    there is an error like that AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

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

      hi, you update your conf file with the conf file i have uploaded in details. you donload that file and copy everything from there and paste it in your conf file. i will work. thanks

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

    Sorry to Inform you mate, but the config File link does not work, may be dead.

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

      so sorry, our cloud storage got some issues, but i believe its fixed now. thanks for letting me know.

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

    Hello sir ,when I paste in the json file I get an error that says "Property debugOptions is not allowed."

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

      i would say restart vscode and try doing it again and check if you have got permission to override in that. cheers

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

    sorry how can i fix this error Property debugOptions is not allowed.

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

      it looks like it's coz of launch.json file, I will recommend to replace with a new one again and completely restart system

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

    Database (odoo15) not initialized, you can force it with `-i base` ? im getting this error ? can you help me !

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

      module 'lib' has no attribute

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

      Hi, Are u using a docker composer? If yes then The issue can be solved by adding this argument to the command line when starting the database container :
      -e POSTGRES_DB=postgres

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

      Otherwise i would suggest remove odoo and Postgres both and then install odoo with Postgres installation altogether and follow the instructions

  • @MuhammadUsama-de8ym
    @MuhammadUsama-de8ym 2 роки тому

    when I click add configuration its doesn't appear any file to replace code

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

      sorry for late reply, i was out of country. ok you can click on launch.json file and replace the content with this file gofile.me/6PEI8/H3YeVn7TH. first donload this file and then copy all from this downloaded file and paste it in your vcode launch.json file. thanks

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

    bro i wanted to configure it with github repo download not with executable file.
    how to do that?

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

      you can do so by just download your repo and then configure its launch.json file

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

    can you please tell me how can i export my database from online version to local and edit it with vscode ?

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

      sorry for late reply , I was away for some days.

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

      your-online-live-version-address/web/database/manager, go in database manager and then click on your database and then click backup, this is how you take a backup of your database and then extract files and copy filestore folder and dump file and then paste it in your local running copy's folder and then reset database by typing this command in your terminal (./reset.sh)

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

      @@odooistic thank you so much for your response, so i have the ability to export an odoo cloud database to a file edit it and then reset it on cloud with " ./reset.sh" ? is this completly free or i should have some odoo sh subscription ?
      Thank you so much sir

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

    I think your didn't show everything on your video.
    1. After run app you stopped your video & again resume it with skipping the error
    2. when you connect with database that also your skipped

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

      hi, Mushfiqur i am looking into this and will come up with a new video. thanks

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

    configuration file shows that unable to download files can you give another drive link where i can download it

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

      so sorry, my virtual drive link got some error. I have fixed it now and you can download it. thanks

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

    i am getting error here : FATAL: password authentication failed for user "openpg" please help

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

      try this
      $su postgres
      $psql
      *alter user openpg with password admin;
      and go to odoo config file and write (db_password = admin

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

      @@odooistic i am using windows but that issue is resolved but now i m getting error for models cant see my models

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

      @@jatinkant1711 you need to give your custom addons path in odoo.conf file

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

      @@jatinkant1711 you need to place your module in a folder and that folder path you need to pass in odoo.conf. cheers

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

    Sir keep getting internal server error 500

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

      Nawaf can you please send some details why this error is coming because this kind of error indicates that an error has occurred during a connection to the server and that the requested page cannot be accessed. send me some pictures that when it occurs, I will reply then

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

      have you replace this VisualStudio Code Configuration File: gofile.me/6PEI8/H3YeVn7TH file with the existing launch.json file?

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

    I have tried but when I run configuration, a new tab doesn't appear, instead it's stacked in the account account tag py

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

      Have you download and replace launch.json file with the downloaded file's content? if not , you do that and it will work fine. thanks

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

      @@odooistic Min, it still doesn't work even though the file has been downloaded vs code

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

      ​@@wisya4104 Had the issue. Got it to work after opening VS Code from Anaconda Navigator

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

    Hello sir , when i press on "create a launch.json file" , nothing happen. I mean it doesn't create ".vscode" folder and "launch.json" file. Can you help me ?

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

      Hi, when you follow the complte process, automatically json file will be presend in vscode folder, you just need to replace the contents with the file i mentioned to download with. If somehow you are not getting that , just copy downloaded file into that vscode folder.

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

      @ HDest. I Had the issue. Got it to work after opening VS Code from Anaconda Navigator

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

      @@solomonmuwori1954 Really glad to hear that. fantastic

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

      @@solomonmuwori1954 hello , i'm sorry i didn't receive the notification. At the end, i was looking to far it was just my bad with the tree of folders, it was a problem due of a file/folder in the wrong folder thank you :)

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

      @@odooistic i've sent you an email because i meet some problems with a report system did you saw it ?