Odoo Healthcare Management Hospital Management Hospital system Medical Odoo Medical Odoo Healthcare
This widget allows you to conveniently display, edit, validate json data on user form. It has multiple display options (tree, text, code). If a field is read-only, the widget opens only for viewing. The widget is based on JSONEditor by Jos de Jong. Usage: # model class Model(models.Model): json_field = fields.Json(string="Your JSON field") # view <form>; .... <field name="json_field" widget="json_widget" /> .... </form>
This widget allows you to display and edit only year or month/year in date fields. Usage: # model class Model(models.Model): json_field = fields.Json(string="Your JSON field") # view <form>; .... <field name="date_year_field" widget="year_picker" /> .... <field name="date_month_field" widget="month_picker" /> .... </form>
Inter face color and some icon
This widget allows you to edit text fields in a modal dialog on list or form with optional validation and autofocus support. If a field is read-only, the widget opens only for viewing. # view <form>; .... <field name="comment" widget="textarea_dialog_widget" />; .... </form>; <tree>; .... <field name="comment" widget="textarea_dialog_widget" />; .... </tree>;
Restore old actions, save and discard buttons.