Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Authoring Tool of AAT with DADT
1. Authoring Tool of AAT
with DADT
A Prototype
Lin, Shih
Computing Center, Academia Sinica
Feb 20th 2009
2. Developing Log
• Database schema: copied from Getty
• Data: 32356 records, provided by Getty
• Interface: referring to VCS by Getty
• Thanks to Getty Research Institute and Dr.
Murtha Baca
• Designer: Andy Liu (¼B´¼º~ )
• Developing framework: DADT (Digital
Archive Database Tool)
• Working Days: 10 days
3. E-R Model of Three Levels (part)
subject SUBJECT_ID
term TERM_ID
source_rels_term language_rels
9. Metadata on the Way
• Metadata standards for data exchange and
share
• Complication
• Over one thousand standards
• Selecting and changing standards
• Various ways of usage with the same
standard
• Increasing requirements for applications
10. Complication
• Over one hundred data elements
• Deeper and wider hierarchy
• Multiple occurrences of parent and leaf
nodes
• Various data types
• Links among metadata records
• Relations among elements, e.g. hierarchy
11. Databases for Metadata
• Native XML Databases
– eXist, Xindice, X-Hive/DB, etc.
• RDBMS with XML extension
– Pure RDBMS
– Decomposing a hierarchy structure into tables
due to one-to-many relations
• Reconstruct hierarchy
• Text retrieval
12. DADT: Management Page
• Data change
– Mixture of insertion, update and deletion
– Entry check: data type, length, null and range
– User-defined functions for check and value setting
– Foreign key maintenance(data integrity)
– Foreign key value setting during insertion
– Cascade update and deletion
– Link manipulation
– Data history
– Transaction
– Upload files to a file pool or blob fields
13. Compile Management Page
• Each table is bound with a form.
– The table name is the form name.
– The field names of the table are the names of the
input elements in the form.
• Multiplex input elements: text, hidden,
password, textarea, select, radio, checkbox
and file
• For text and textarea elements, set value
ranges and/or warning messages for fields
not nullable.