odoo payroll Python Expression

Salary inputs

Do not required input if there is no value for the input

result=(inputs.ASDE and inputs.ASDE.amount) or False

result=(worked_days.PJWL and worked_days.PJWL.number_of_hours) or False



How to remove the banner

In case you want to remove the banner, you will just need to SSH into your machine and then execute the following command:

sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1
sudo /opt/bitnami/apps/odoo/bnconfig --disable_banner 1
Please note the actual path will depend on the installed application so it may be different in your case (/opt/bitnami/apps/drupal/bnconfig for Drupal, /opt/bitnami/apps/joomla/bnconfig for Joomla…).

And then restart Apache:

sudo  /opt/bitnami/ctlscript.sh restart apache

Please note the above steps will only remove the corner banner, the Bitnami info page will still be availble by visiting  http://example.com/bitnami/index.html

Leave a Reply

Your email address will not be published. Required fields are marked *