optimize doc Items select query
Merge branch 'master' of https://github.com/jafarkhani/accountancy.git