Friday, October 13, 2017

More on Docker machine...


http://support.divio.com/local-development/docker/how-to-use-a-directory-outside-cusers-with-docker-toolbox-on-windows




Thursday, October 12, 2017

Docker machine make it work


delete
$ docker-machine rm default

create
$ docker-machine create --driver virtualbox dev

mark as active
$ eval $(docker-machine env dev)

How to search files from windows command prompt

I am still struggling with yesterday problem in my docker. I can't find the file docker.qcow2 in my windows env but some gain additional information on how to search a file from windows command prompt.

type below to go to your main directory c:
cd c/ 

then
dir secret.doc /s /p



Reference:
http://www.dummies.com/computers/operating-systems/windows-xp-vista/how-to-search-for-files-from-the-dos-command-prompt/




Wednesday, October 4, 2017

Odoo Database cleanup

I have a feeling to continue my project in Tenant Management system using latest Odoo 10. Sometimes, you need to remove some unnecessary columns and when you upgrade again your module it will stay and not totally remove it.

This is called 'stale' records/model. It's something that the data still configured in your odoo framework even you remove it from your model list.

For example, you want to delete the last column "test"




when you check on the PGADMIN the field "test" is still there even you upgrade your module. So you need to clean up the database from odoo.

since I'm using odoo 10, I need to use the compatible Cleanup Database which is free from odoo community.

https://pypi.python.org/pypi/odoo10-addon-database-cleanup/10.0.1.0.0.99.dev4



Eureka!




Tuesday, October 3, 2017

free online comma separating tool

https://delim.co/#