Monday, November 25, 2019

Run odoo server

ODOO

configurations

   
 In this step we will see how to run Odoo server , change add-ons path , change default odoo port , create new database from the browser and from pg admin too 

how to run odoo server ?
  -open your terminal and enter the odoo server folder by the command (in my pc the odoo server is in the desktop )

   cd Desktop/odoo11 

  -then we have to run the command bellow to run odoo server  
  
   ./odoo-bin 

now we run the server as in the image bellow 



how to change addons path and why ? 

    by default odoo is call the standard modules which are located in odoo server folder/addons so when we run the server by the command above we can only see and install the standard modules , by what about installing our own modules ?
    to do that we only have two ways :
  • create our modules and put theme with the standard modules in the same path (odoo sever/addons) , of course the way is so easy but it's not right so we will not use it 
  • create our modules and put them in one folder and then call this folder with the standard modules folder (addons) as bellow 
let us say that we created folder by name custom_addons which is located in the desktop so to call this folder we must run odoo server by the command bellow

     ./odoo-bin --addons-path=/home/student/Desktop/odoo-11.1.1/addons,Desktop/custom_addons

how to change the default port (8069) for odoo server ? 

     as we know the odoo server is run on 8069 as default port , but can we change this port ?
 of course we can change it by any port we want by adding --xmlrpc-port= to the command above to become as  

     ./odoo-bin --addons-path=/home/student/Desktop/odoo-11.1.1/addons,Desktop/custom_addons -- xmlrpc-port=8080 

* here we had change the default port to 8080  

how to create new data base from the browser ?

    after running the odoo server we have to open our browser and write down localhost:8069 in the url "in we run the server in the default port" and press enter to get the page as in the image bellow 


then we have to write the name email and the password for our database (and demo data if we want ) , "I will write database : test , email:admin , password:123 and I will not load demo data"

how to create new database from pg admin ?

    to create database from the pg admin you have to follow the steps bellow 
  1. open the pg admin
  2. connect the pg admin to odoo server
  3. over the databases menu right click and chose new database 
  4. write down the name of the data base and owner of it (postgres role) as in the image bellow   

Watch onYouTube



PREVIOUS STEP         NEXT STEP

No comments:

Post a Comment

Odoo Invoice Qr code issues

There are two main issues must of us facing with the QR code in Odoo invoice & these issues are 1/ QR code displayed as broken image w...