Files
dn20/accountant_cn/__manifest__.py
2026-11-17 17:57:08 +08:00

106 lines
4.5 KiB
Python

# -*- coding: utf-8 -*-
{
'name': 'Accountant CN',
'version': '20.0.1.0.0',
'summary': 'Full accounting workspace for Odoo Community — enterprise-shaped menus, reports, closing, loans, bank reconciliation and audit working files (LGPL-3)',
'description': """
Accountant CN
=============
A single, native Odoo module that brings the full accounting workspace to
Odoo 20 Community: the Enterprise-shaped menu tree, 20 financial reports with
an Odoo ControlPanel, fiscal-year closing and period locking, bank
reconciliation, loans management and period-review working files.
This is a true merge of seven earlier LGPL-3 modules into ONE module: models,
views, data, security, assets and translations all live in a single flat
module tree. No menu, view, action, model or translation was changed. Every
XML ID now belongs to the ``accountant_cn`` namespace, and all 1020 zh_CN
translation entries (including deliberately different translations of the
same English term in different models) were preserved.
License: LGPL-3. No Odoo Enterprise source code is used, copied or derived.
""",
'category': 'Accounting/Accounting',
'license': 'LGPL-3',
'author': 'DN Community',
'website': '',
'depends': [
'account',
'mail',
'base_import',
],
'data': [
# ---- security first
'security/account_groups.xml',
# Odoo derives the target model from the CSV basename before '-':
# every file below must start with `ir.access` to load into ir.access.
'security/ir.access-reports_core.csv',
'security/ir.access-fr.csv',
'security/ir.access-accounting.csv',
'security/ir.access-bank_rec.csv',
'security/ir.access-loans.csv',
'security/ir.access-audit.csv',
# ---- report engines: actions/views/data/menus before the menu tree
'views/views__dn_report_actions.xml',
'views/views__dn_report_views.xml',
'data/data__dn_reports_data.xml',
'views/views__dn_fr_views.xml',
'views/views__dn_fr_actions.xml',
'data/data__dn_fr_reports.xml',
'views/views__dn_fr_menus.xml',
'views/views__dn_report_menuitems.xml',
# ---- accounting essentials + their menus
'views/views__dn_accounting_views.xml',
'views/views__dn_bank_rec_views.xml',
# ---- Enterprise-shaped menu tree: re-parents the menus above and
# defines menu_action_working_files + account_assets_liabilities_menu
'views/views__menu.xml',
# ---- loans (parent menu defined by the menu tree above)
'views/wizard__dn_loan_compute_wizard_views.xml',
'views/wizard__dn_loan_close_wizard_views.xml',
'views/views__dn_loan_views.xml',
'views/views__dn_loan_line_views.xml',
'views/views__dn_loan_move_views.xml',
# ---- audit working files (update of menu_action_working_files last)
'data/data__dn_audit_cycle_data.xml',
'views/views__dn_audit_return_views.xml',
'views/views__dn_audit_check_views.xml',
'views/views__dn_audit_menus.xml',
],
'assets': {
'web.assets_backend': [
# Odoo only serves assets from <module>/static/; all JS/XML/SCSS
# from the seven sources are collected here under dn_* filenames.
'accountant_cn/static/src/js/dn_report_view.js',
'accountant_cn/static/src/js/dn_report_view.xml',
'accountant_cn/static/src/js/dn_report_view.scss',
'accountant_cn/static/src/js/dn_fr_model.js',
'accountant_cn/static/src/js/dn_fr_line_cell.js',
'accountant_cn/static/src/js/dn_fr_line_cell.xml',
'accountant_cn/static/src/js/dn_fr_line.js',
'accountant_cn/static/src/js/dn_fr_line.xml',
'accountant_cn/static/src/js/dn_fr_header.js',
'accountant_cn/static/src/js/dn_fr_header.xml',
'accountant_cn/static/src/js/dn_fr_filter_date.js',
'accountant_cn/static/src/js/dn_fr_filter_date.xml',
'accountant_cn/static/src/js/dn_fr_filter_comparison.js',
'accountant_cn/static/src/js/dn_fr_filter_comparison.xml',
'accountant_cn/static/src/js/dn_fr_view.js',
'accountant_cn/static/src/js/dn_fr_view.xml',
'accountant_cn/static/src/js/dn_fr_view.scss',
'accountant_cn/static/src/scss/dn_lock_date.scss',
'accountant_cn/static/src/scss/dn_loan.scss',
],
},
'post_init_hook': 'post_init_hook',
'installable': True,
'application': True,
'auto_install': False,
}