odoo remove 8069

/etc/openerp/openerp-server.conf

/etc/rc.local

add

iptables -t nat -A PREROUTING -p tcp –dport 70 -j REDIRECT –to-port 7069
iptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-port 8069

#!/bin/bash
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070
iptables-save

Install odoo on digitalocean

reference link:

https://github.com/Yenthe666/InstallScript/blob/9.0/odoo_install.sh

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

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

method2:
1:Download the script:

sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/9.0/odoo_install.sh

2:Make the script executable:

sudo chmod +x odoo_install.sh

3:Execute the script:

sudo ./odoo_install.sh

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="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a> -->



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

<!-- Powered by <a href="http://www.openerp.com" 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 odoo.com 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

Install pdf

wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
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/ctlscript.sh 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

downgrade

sudo dpkg -r wkhtmltox
sudo wget http://sourceforge.net/projects/wkhtmltopdf/files/archive/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

education theme

http://themeforest.net/item/education-center-training-courses-wordpress-theme/full_screen_preview/10652918

http://stylemixthemes.com/demo/masterstudywp

About

http://wedesignthemes.com/themes/index.php?theme=guru

http://showcase.aislinthemes.com/?product=kids

 

http://quanticalabs.com/wp_themes2/fable/tenderhearts/

 

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.


3
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>