Custom app path ? Module?

Hello all,

I would like to modify the autoname method for item.py then i’m created an custom app to do, everything goes fine when the item.py stored in same level of __ init __.py but when i move the item.py 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 hooks.py

Add a__init__.py file in the cwdoctype sub directory.

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