Undocumented stuff
- initial_modeoption defines the starting mode of the form view, one of- viewand- edit(?). Default value is- view(non-editable form).
- embedded_viewattribute has to be set separately when providing a view directly, no option available for that usage.- View arch must contain node with
@class="oe_form_container", otherwise everything will break without any info
- Root element of view arch not being formmay or may not work correctly, no idea.
- Freeform views => @version="7.0"
 
- View arch must contain node with
- Form is not entirely loaded (some widgets may not appear) unless
on_record_loadedis called (ordo_show, which itself callson_record_loaded).
- “Empty” form => on_button_new(…), or manually calldefault_get+on_record_loaded
- Form fields default to width: 100%, padding, !important margin, can
be reached via .oe_form_field
- Form will render buttons and a pager, offers options to locate both outside of form itself ( - $buttonsand- $pager), providing empty jquery objects (- $()) seems to stop displaying both but not sure if there are deleterious side-effects.- Other options: - Pass in $(document.createDocumentFragment)to ensure it’s a DOM-compatible tree completely outside of the actual DOM.
- ???
 
- Pass in 
- readonly fields probably don’t have a background, beware if need of overlay - What is the difference between readonlyandeffective_readonly?
 
- What is the difference between 
- No facilities for DOM events handling/delegations e.g. handling keyup/keydown/keypress from a form fields into the form’s user. - Also no way to reverse from a DOM node (e.g. DOMEvent#target) back to a form view field easily
 
