The `analytic_distribution` field is a Json. It was stored temporarily as a char. Search is not available yet, so we do queries by hand when we need to search on keys. Also added a constraint on account_analytic_distribution_model, so we don't have models with accounts specific to a company when the model has no company or another company. It would cause an issue when looking at the models from another company. X-original-commit: 7064c95aa04e5138bb12ae97acfee04ebb67cc0e Part-of: odoo/odoo#103097
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name' : 'Analytic Accounting',
|
|
'version': '1.1',
|
|
'category': 'Accounting/Accounting',
|
|
'depends' : ['base', 'mail', 'uom'],
|
|
'description': """
|
|
Module for defining analytic accounting object.
|
|
===============================================
|
|
|
|
In Odoo, analytic accounts are linked to general accounts but are treated
|
|
totally independently. So, you can enter various different analytic operations
|
|
that have no counterpart in the general financial accounts.
|
|
""",
|
|
'data': [
|
|
'security/analytic_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'views/analytic_line_views.xml',
|
|
'views/analytic_account_views.xml',
|
|
'views/analytic_plan_views.xml',
|
|
'views/analytic_distribution_model_views.xml',
|
|
'data/analytic_data.xml'
|
|
],
|
|
'demo': [
|
|
'data/analytic_account_demo.xml'
|
|
],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'analytic/static/src/components/**/*',
|
|
],
|
|
'web.qunit_suite_tests': [
|
|
'analytic/static/tests/*.js',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
}
|