many2one
widget (default)Options
no_quick_create
- remove the Create and edit...
option.no_create_edit
- remove the Create "foo"
option.
no_create
- no_quick_create
and no_create_edit
combined.no_open
- in read mode: do not render as a link.Example
many2onebutton
widgetThis widget seems rather pointless. It’s just a clickable circle.
It’s red if the field is empty. Clicking on the red circle opens a form for creating a new related item (in a modal window).
It’s green if the field is not empty. Clicking on the green circle opens a form for editing the related item (in a modal window).
There doesn’t seem to be a way to use this widget to select a preexisting item.
Example
Comments
© Ludwik Trammer, 2014 — built with Jekyll using Lagom theme