Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Database Model of Project Gallery
1. Project Project
Name Project
URL ID
Subject
Headings
Description
Lessons learned Themes
Technology
used
Enquiry-based
Gallery Project Tags
Project Start
date
Project End Collections/grou
date ps
L_nam Pis & other
e contributors Funding
F_nam sources
e
Job Descriptive
title PI? Tags
Institutio
n
2. GALLERY PROJECT ATTRIBUTES
• Project ID (single value, auto-increment, hidden except to admins, required field)
• Project URL (single value, clickable hypertext, required field)
• Project Name (single value, small text area, required field)
• Project Description (single value, larger text area, required field)
• Lessons learned (single value, larger text area, optional field)
• Technology used (single value, larger text area, optional field)
• Project Start date (single value, date format, hidden except to admins, optional field)
• Project End date (single value, date format, hidden except to admins, optional field)
• Descriptive Tags (multiple values, small text area, drop down list or tag cloud, optional field)
• Funding sources (multiple values, small text area, hidden except to admins, optional field)
• Collections/groups (multiple values, small text area, drop down list, optional field)
• Enquiry-based Tags (multiple values, small text area, drop down list, optional field)
• Themes (multiple values, small text area, drop down list, required field)
• Subject Headings (multiple values, small text area, drop down list, required field)
Note: The last six attributes will be a list of specific values. We will add to these lists as the repository grows and evolves. See attached word
doc for values
PI ATTRIBUTES
• PI ID (single value, auto-increment, hidden except to admins, required field)
• L_name (single value, small text area, required field)
• F_name (single value, small text area, required field)
• Title (single value, small text area, optional field)
• Institution (single value, small text area, optional field)
• PI? (single value, 0/1 (yes or no), required field)