The goal of this commit is to get rid of the analytic tags as they were confusing, serving tag purposes as well as distribution on analytic accounts. Everywhere analytic tags were used as a distribution have been replaced with a new widget that will dispatch distribution on analytic accounts. If there was an analytic account field next to the tags, it has been included in the distribution. Analytic tags that were used simply as information tags have been removed. To fill the new widget, there are now 2 kind of rules that will help fill and prefill it. The first are applicability: previous groups have been removed, and have by replaced by plans. Each account is required to have a plan. These plans define when they are available in the widget: a default applicability per plan and applicability lines that can specify rules following the context of the widget. The second one are distribution models, that will replace previous default rules but follow the same principles. The accounts (and so the plans) that will be given by the distribution model can override the applicability rules from before. closes odoo/odoo#98914 Related: odoo/upgrade#3885 Related: odoo/enterprise#30743 Signed-off-by: William André (wan) <wan@odoo.com> Co-authored-by: Habib (ayh) <ayh@odoo.com>
18 lines
559 B
Python
18 lines
559 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import analytic_account
|
|
from . import project_milestone
|
|
from . import project_project_stage
|
|
from . import project_task_recurrence
|
|
# `project_task_stage_personal` has to be loaded before `project`
|
|
from . import project_task_stage_personal
|
|
from . import project
|
|
from . import project_collaborator
|
|
from . import project_update
|
|
from . import company
|
|
from . import res_config_settings
|
|
from . import res_partner
|
|
from . import digest
|
|
from . import ir_ui_menu
|