Backend Mixin
by OpenSynergy Indonesia https://simetri-sinergi.id , PT. Simetri Sinergi Indonesia https://simetri-sinergi.id
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 1331 |
| Technical Name |
ssi_backend_mixin |
| License | AGPL-3 |
| Website | https://simetri-sinergi.id |
Backend Mixin
ssi_backend_mixin provides an abstract Odoo model — backend_mixin — that serves as a reusable base for backend configuration records scoped to a company (e.g. accounting settings, payroll parameters).
Any model that inherits from backend_mixin automatically gains:
- All standard fields from mixin.master_data (name, code, active, note, chatter, print-document support).
- A mandatory company_id field.
- A state selection (draft / running) for activating the record.
- action_running — marks this record as running for the current company and deactivates any previously running record of the same type.
- action_restart — reverts the record to draft and clears the company reference pointer.
Subclasses configure _backend_company_field to the name of the res.company field that should store the currently active backend ID.
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 Backend 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>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Please log in to comment on this module