Skip to main content

Install odoo 12 : Linux/Ubuntu/Debian

clone/download odoo 12 community from odoo github:
https://github.com/odoo/odoo

(optional) clone odoo 12 enterprise addons from github:
https://github.com/odoo/enterprise

move odoo 12 and enterprise addons to "System Disk" so we have this directory:


Directory path would be /odoo12

Download this install script and execute/modify to adjust folder position (if you plan to store odoo in different directory than mine)
https://github.com/akhmadkresna/odoo12-_install_script.git

# Adjust the script to match your environment
sudo nano odoo-install.sh
# Adjust permission
sudo chmod +x odoo-install.sh
# Execute the script to install Odoo:
./odoo-install

install python requirement 
pip3 install libsass


THATS IT !!!

Comments

Popular posts from this blog

Odoo: How to Inherit Controller

Sometime we need to modify a certain behavior when accessing odoo url (route). That time we need to do inheritance to odoo controller and then put our desired custom behavior when the url triggered. The way to inherit an odoo controller is slightly different than to inherit odoo object/model. In this tutorial i will do inheritance on odoo route "/shop/checkout" which is the url route when doing website sale checkout, because i want to show some specific product information on the website that i cant call in the xml template unless i parse the data from python controller to xml view. Lets jump into it. Here is the base controller Here is the inheritance controller in the example above i import base controller class (WebsiteSale) and use it as parameter on my new class (WebsiteSaleInherit). Thats it !! Comment below if you have any questions.

Odoo Javascript Debugging

When it comes to programming, we can all agree that out code is rarely work on a first try. Because of the sheer virtue of fact that, even if you can conceptualize a problem and reduce it to it’s base states, to fully envision it into it’s most granular detail in terms of hundreds of lines of code - Is just not realistic. Thats why i can say that debugging is crucial part of programming. Here few tips to do javascript debugging in odoo using google chrome developer tools. some points also applicable on debugging general website not just odoo. Odoo Developer Mode (with assets) When it comes to javascript debugging in odoo, we should enable ‘asset debugging’. Trust me it will saves your ass a lot of time. Odoo internally use assets like CSS and JavaScript. In normal mode this asset will combined to a file. So debug with assets will prevent asset to be merged to one file and display actual CSS and JavaScript files on chrome dev tools. Of course this mode will reduce per...