Custom app path ? Module?

Hello all,

I would like to modify the autoname method for then i’m created an custom app to do, everything goes fine when the stored in same level of __ init but when i move the inside the sub directory “cwdoctype” it’s not working , error message :
importerror : no module named cwdoctype.item

can i do that ? and how ?
my custom_app directory structure and right hand side is doc_events in

Add file in the cwdoctype sub directory.

Its working after add the init file inside the sub directory, thanks