Models, modules, and apps

Models determine the logical structure of a database and how data is stored, organized, and manipulated. In other words, a model is a table of information that can be linked with other tables. A model usually represents a business concept, such as a sales order, contact, or product.

Modules and apps contain various elements, such as models, views, data files, web controllers, and static web data.

Ghi chú

All apps are modules. Larger, standalone modules are typically referred to as apps, whereas other modules usually serve as add-ons to said apps.

Suggested features

Khi bạn tạo một mô hình hoặc ứng dụng mới bằng Studio, bạn có thể chọn thêm tối đa 14 tính năng để tăng tốc quá trình tạo. Các tính năng này kết hợp các trường, thiết lập mặc định và chế độ xem thường được sử dụng cùng nhau để cung cấp một số chức năng chuẩn. Hầu hết các tính năng này có thể được thêm vào sau, nhưng việc thêm chúng ngay từ đầu giúp quá trình tạo mô hình dễ dàng hơn nhiều. Hơn nữa, các tính năng này tương tác với nhau trong một số trường hợp để tăng tính hữu ích của chúng.

Example

Creating a model with the studio/models-modules-apps/suggested-features/picture and studio/models-modules-apps/suggested-features/pipeline-stages features enabled adds the image in the card layout of the Kanban view.

Combination of the Picture and Pipeline stages features on the Kanban view

Chi tiết liên hệ

Selecting Contact details adds to the Form view a Many2One field linked to the Contact model and two of its Related Fields: Phone and Email. The Contact field is also added to the List view, and the Map view is activated.

Example

Contact details feature on the Form view

Phân công người dùng

Selecting User assignment adds to the Form view a Many2One field linked to the Contact model, with the following Domain: Share User is not set to only allow the selection of Internal Users. In addition, the many2one_avatar_user widget is used to display the user’s avatar. The Responsible field is also added to the List view.

Example

User assignment feature on the Form view

Ngày & lịch

Selecting Date & Calendar adds to the Form view a Date field and activates the Calendar view.

Phạm vi ngày & gantt

Selecting Date range & Gantt adds to the Form view two Date fields next to each other: one to set a start date, the other to set an end date, using the daterange widget, and activates the Gantt view.

Giai đoạn chu trình

Selecting Pipeline stages activates the Kanban view, adds several fields such as Priority and Kanban State, and three stages: New, In Progress, and Done. The Pipeline status bar and the Kanban State field are added to the Form view. The Color field is added to the List view.

Ghi chú

The Pipeline stages feature can be added at a later stage.

Thẻ

Selecting Tags adds to the studio/views/general/form and studio/views/multiple-records/list views a Tags field, creating a Tag model with preconfigured access rights in the process.

Hình ảnh

Selecting Picture adds to the top-right of the Form view an Image field.

Ghi chú

The Picture feature can be added at a later stage.

Chi tiết

Selecting Lines: adds to the Form view a Lines field inside a Tab component.

Ghi chú

Selecting Notes adds to the Form view an Html field using the full width of the form.

Giá trị tiền tệ

Selecting Monetary value adds to the studio/views/general/form and studio/views/multiple-records/list views a Monetary field. The studio/views/reporting/graph and studio/views/reporting/pivot views are also activated.

Ghi chú

A Currency field is added and hidden from the view.

Công ty

Selecting Company adds to the studio/views/general/form and studio/views/multiple-records/list views a Many2One field linked to the Company model.

Ghi chú

This is only useful if you work in a multi-company environment.

Sắp xếp tùy chỉnh

Selecting Custom Sorting adds to the List view a drag handle icon to manually reorder records.

Example

Custom Sorting feature on the List view

Chatter

Selecting Chatter adds to the Form view Chatter functionalities (sending messages, logging notes, and scheduling activities).

Ghi chú

The Chatter feature can be added at a later stage.

Example

Chatter feature on the Form view

Đang lưu trữ

Selecting Archiving adds to the studio/views/general/form and studio/views/multiple-records/list views the Archive action and hides archived records from searches and views by default.

Export and import customizations

When you do any customization with Studio, a new module named Studio customizations is added to your database.

To export these customizations, go to Main dashboard ‣ Studio ‣ Customizations ‣ Export to download a ZIP file containing all customizations.

To import and install these customizations in another database, connect to the destination database and go to Main dashboard ‣ Studio ‣ Customizations ‣ Import, then upload the exported ZIP file before clicking on the Import button.

Cảnh báo

Before importing, make sure the destination database contains the same apps and modules as the source database. Studio does not add the underlying modules as dependencies of the exported module.