Install odoo on digitalocean

reference link:

1:sudo nano (create one file named”” )
2:copy script to this file and save it to linux
3:sudo chmod +x (Make the script executable)
4:sudo ./ the script:)

sudo service odoo-server restart
sudo service odoo-server stop
sudo service odoo-server start

1:Download the script:

sudo wget

2:Make the script executable:

sudo chmod +x

3:Execute the script:

sudo ./

ODOO debranding

STEP #1 – change your company logo (let’s start from easy…)
Hover the big Odoo logo on the left side, click on “Edit company data” and give your company your own logo – this will replace the Odoo placeholder logo.

STEP#2 – remove “Powered by Odoo”
Open the view web.login_layout and comment out following lines:

<!-- <span class="oe_footer_seperator"> | </span> -->
<!-- <a href="" target="_blank">Powered by <span>Odoo</span></a> -->

Open the view web.menu_secondary and comment out following line:

<!-- Powered by <a href="" target="_blank"><span>Odoo</span></a> -->

STEP#3 – remove “Odoo support” user for instant messaging
Goto Settings > Local Modules and uninstall module Odoo Live Support (im_odoo_support)

or install Remove bindings

the the app  menu will change to setting/technical/parameters/app


STEP#4 – remove Odoo announcement top bar
Empty the openerp_announcement function inaddons/mail/static/src/js/announcement.js like this:

openerp_announcement = function(instance) {};

install bitnami odoo on AWS


Install pdf

sudo apt-get install libjpeg8 libpng12-0 xfonts-base xfonts-scalable
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

Then copy the binaries to a your /usr/bin directory:
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/

remove banner

sudo /opt/bitnami/apps/odoo/bnconfig --disable_banner 1
As final step, restart Apache server:
sudo /opt/bitnami/ restart apache

If you experiment issues with resolution, it could be related to xfonts-75dpi or xfonts-100dpi packages. You can uninstall them executing:

sudo dpkg --remove --force-depends xfonts-75dpi
sudo dpkg --remove --force-depends xfonts-100dpi


sudo dpkg -r wkhtmltox
sudo wget
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

education theme



odoo salary sum

Some deductions have a yearly limit per employee. Is there away to check these registers within a salary rule to determine if the maximum has been paid?

To elaborate:

In Canada we have two limited deductions, one of which is EI (employment Insurance) which deducts 1.88% of the total payslip up to a maximum of $891.12 within the year after which the deduction stops. In order to achieve this I am looking to add a Python Expression under condition that grabs the total contributions over the year period and if it is less then the $891.12 allow the payroll rule to proceed. My issue I am hitting is that I am unsure how to get the total of one register for the year to date within the condition rule.

Nicholas Linn
Okay found this out for myself under the example above, the following conditional statement will work assuming the rule name is EI:

result = payslip.sum(‘EI’,’2013-01-01′,’ 2013-12-31′) > -891.12

Still would be nice not to have to change the formula every year. Any ideas?

Bit of a hack but you can use the contract start and end date to define the fiscal year:

result = payslip.sum(‘EI’,contract.date_start,contract.date_end) > -891.12

page break

<p style=”page-break-before:always;”> </p> (mostly reports used this type)

<p style=”page-break-after:always”></p>

<div style=”page-break-after: auto;”><span style=”display: none;”> </span></div>

<p style=”page-break-inside: avoid”>

<div style=”page-break-inside: auto”></div>