Add childs field in form view to allow child creation from tree
Add type on domain of tree to set correct default value
Fix states of analytic account fields

Set the same state of the real one2many and use a custom one for required.

issue3012
review1151003