Posts

Showing posts from April, 2018

Upgrade all pip-installed Python packages

To upgrade all the python packages that was installed using pip you can use this following command:

sudo pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 sudo pip install -U

wget and overwrite existing files

You can use the -N parameter to overwrite existing files when downloading with wget. For example:

wget -N https://www.dangtrinh.com/afile.txt


How to fix the issue when your user cannot see other users in Odoo 11

Image
In Odoo 11, if your user cannot see other users in the Users dashboard (http://your.domain.com/web?&debug=#view_type=list&model=res.users&menu_id=67&action=65), make sure you uncheck the "Portal" and "Public" in the Other Extra Rights section in that user's setting: