Master Data Mixin
Project description
Master Data Mixin
Description
ssi_master_data_mixin provides an abstract Odoo model — mixin.master_data — that serves as a reusable base for master/reference data records.
Any model that inherits from mixin.master_data automatically gains:
Standard fields — name (translatable), code (unique identifier), active (archive / restore), and note (free-text remarks).
Sequence generation — a Generate Code button that assigns a sequence-based code from a configured sequence template. Records whose code is '/' are treated as “unassigned” and can receive an automatic code at any time.
Unique-code constraint — a SQL-level constraint prevents two records of the same model from sharing the same non-slash code.
Chatter integration — inherits mail.thread and mail.activity.mixin, giving the form view a full messaging thread and activity scheduler.
Print-document support — inherits mixin.print_document and automatically injects a Print button into the form header.
Configurable display name — by setting _show_code_on_display_name = True on a concrete model, the display name is rendered as [code] name throughout the UI.
Typical use-cases: product types, work-order categories, payment terms, school grades, or any static reference table that modules need to configure once and reuse across transactions.
Installation
To install this module, you need to:
Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin
Add the path to this repository in your configuration (addons-path)
Update the module list (Must be on developer mode)
Go to menu Apps -> Apps -> Main Apps
Search For Master Data Mixin
Install the module
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
Credits
Contributors
Michael Viriyananda <viriyananda.michael@gmail.com>
Andhitia Rama <andhitia.r@gmail.com>
Asrul Bastian Yunas <asrulbastianyunas@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo14_addon_ssi_master_data_mixin-14.0.4.4.1.dev2-py3-none-any.whl.
File metadata
- Download URL: odoo14_addon_ssi_master_data_mixin-14.0.4.4.1.dev2-py3-none-any.whl
- Upload date:
- Size: 61.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfcb32967bfe33a6678fe59d215a9aa3daadf8c190042365e4c90201e8f42a2
|
|
| MD5 |
2ed4312ae64bcb970198eff298793eb7
|
|
| BLAKE2b-256 |
f93e9156c392c1e4b1a347f0ec240b6badc8e418b245bf55b6583bc62d5462a3
|