all property
Implementation
static List<ViewTemplate> all = [
ViewTemplate(
id: 'tpl_contact_form',
title: 'Contact Form',
description: 'Standard res.partner form with address and contact info',
category: 'CRM',
model: 'res.partner',
viewType: ViewType.form,
iconEmoji: 'π€',
build: buildContactForm,
),
ViewTemplate(
id: 'tpl_sale_order_form',
title: 'Sale Order Form',
description: 'Full sale.order form with notebook pages and statusbar',
category: 'Sales',
model: 'sale.order',
viewType: ViewType.form,
iconEmoji: 'π',
build: buildSaleOrderForm,
),
ViewTemplate(
id: 'tpl_product_form',
title: 'Product Form',
description: 'product.template form with pricing and description tabs',
category: 'Inventory',
model: 'product.template',
viewType: ViewType.form,
iconEmoji: 'π¦',
build: buildProductForm,
),
ViewTemplate(
id: 'tpl_task_tree',
title: 'Task List View',
description: 'project.task tree view with common columns',
category: 'Project',
model: 'project.task',
viewType: ViewType.tree,
iconEmoji: 'β
',
build: buildTaskTree,
),
ViewTemplate(
id: 'tpl_lead_kanban',
title: 'CRM Pipeline',
description: 'crm.lead kanban with revenue and priority',
category: 'CRM',
model: 'crm.lead',
viewType: ViewType.kanban,
iconEmoji: 'π―',
build: buildLeadKanban,
),
ViewTemplate(
id: 'tpl_employee_form',
title: 'Employee Form',
description: 'hr.employee form with work info',
category: 'HR',
model: 'hr.employee',
viewType: ViewType.form,
iconEmoji: 'π',
build: buildEmployeeForm,
),
];