Accounting Entry Mixin
by OpenSynergy Indonesia https://simetri-sinergi.id , PT. Simetri Sinergi Indonesia https://simetri-sinergi.id| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 2927 |
| Technical Name |
ssi_accounting_entry_mixin |
| License | AGPL-3 |
| Website | https://simetri-sinergi.id |
Accounting Entry Mixin
ssi_accounting_entry_mixin provides a set of abstract Odoo models that standardise the creation, posting, and deletion of accounting entries (account.move and account.move.line) from transactional documents.
The module ships four composable mixins:
- mixin.account_move — high-level helper for the journal-entry header: creates, posts, and cancels an account.move record with configurable field-name pointers and optional tax computation support.
- mixin.account_move_single_line — creates one account.move.line inside an existing move; the normal direction (debit vs. credit) and all source fields are driven by class-level attributes.
- mixin.account_move_double_line — creates a balanced debit/credit pair of move lines in one call; each side is independently configurable.
- mixin.tax_line — ready-to-use child-record model for tax lines that references the appropriate tax account.
Concrete _with_field variants of each mixin add the actual Odoo storage fields (move_id, move_line_id, realized, etc.) for cases where the inheriting model needs to persist the generated entry references.
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 Accounting Entry 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
- Andhitia Rama <andhitia.r@gmail.com>
Maintainer
This module is maintained by the PT. Simetri Sinergi Indonesia.
Please log in to comment on this module