22: Field wrapper + Form Group + X2Many — layout and sub-form components #23

Open
opened 2026-07-05 00:37:55 -06:00 by ppreeper · 0 comments
Owner

Description

Build layout and sub-view components from PRD-003.

Widgets

FieldWrapper

Wraps any field widget with label, help text, error message, required indicator. Consistent form field layout.

FormGroup

Group of related fields. Optional legend, description, horizontal/vertical layout.

Section

Form section with optional title, fold/collapse toggle.

X2Many (Sub-list/Sub-kanban)

Odoo one2many / many2many — Inline sub-view with toolbar (add button, action buttons) and pager. Renders ListRenderer or KanbanRenderer inside parent form.

References

oddo_widget_subcomponents.md §13 (X2Many), §12 (Properties grid layout patterns)

## Description Build layout and sub-view components from PRD-003. ## Widgets ### FieldWrapper Wraps any field widget with label, help text, error message, required indicator. Consistent form field layout. ### FormGroup Group of related fields. Optional legend, description, horizontal/vertical layout. ### Section Form section with optional title, fold/collapse toggle. ### X2Many (Sub-list/Sub-kanban) Odoo `one2many` / `many2many` — Inline sub-view with toolbar (add button, action buttons) and pager. Renders ListRenderer or KanbanRenderer inside parent form. ## References oddo_widget_subcomponents.md §13 (X2Many), §12 (Properties grid layout patterns)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ppreeper/webtemplate#23
No description provided.