code from dodo
fixed company model code
Merge branch 'master' of github.com:dodoas/dodoriver