OdooView constructor
const
OdooView({
- required String id,
- required String name,
- required String model,
- required ViewType viewType,
- String? docModule,
- String? inheritId,
- List<
OdooField> topLevelFields = const [], - List<
OdooGroup> groups = const [], - List<
NotebookPage> pages = const [], - bool? createButton,
- bool? deleteButton,
- bool? editButton,
- String? customCSS,
- bool editable = false,
- bool? decorationDanger,
- String? defaultOrder,
- bool? noCreate,
- String? kanbanClass,
- bool? quickCreate,
- String? groupBy,
- int priority = 16,
- required DateTime createdAt,
- required DateTime updatedAt,
Implementation
const OdooView({
required this.id,
required this.name,
required this.model,
required this.viewType,
this.docModule,
this.inheritId,
this.topLevelFields = const [],
this.groups = const [],
this.pages = const [],
this.createButton,
this.deleteButton,
this.editButton,
this.customCSS,
this.editable = false,
this.decorationDanger,
this.defaultOrder,
this.noCreate,
this.kanbanClass,
this.quickCreate,
this.groupBy,
this.priority = 16,
required this.createdAt,
required this.updatedAt,
});