Task 1856935 Currently, if installing a module's demo data fails (because the module was uninstalled and some were left over and can't be reinstalled, or because they're broken, or…) the installation of the module fails and further installations are skipped (?). Since demo data are non-essential (though required to run tests), rather than fail everything if they fail just roll them back and notify the user. This change generates a warning log *and* shows a notification popup to the end user.
41 lines
1.0 KiB
Python
41 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import assetsbundle
|
|
from . import qweb
|
|
|
|
from . import ir_model
|
|
from . import ir_sequence
|
|
from . import ir_ui_menu
|
|
from . import ir_ui_view
|
|
from . import ir_actions
|
|
from . import ir_actions_report
|
|
from . import ir_attachment
|
|
from . import ir_cron
|
|
from . import ir_filters
|
|
from . import ir_default
|
|
from . import ir_translation
|
|
from . import ir_exports
|
|
from . import ir_rule
|
|
from . import ir_config_parameter
|
|
from . import ir_autovacuum
|
|
from . import ir_mail_server
|
|
from . import ir_fields
|
|
from . import ir_qweb
|
|
from . import ir_qweb_fields
|
|
from . import ir_http
|
|
from . import ir_logging
|
|
from . import ir_property
|
|
from . import ir_module
|
|
from . import ir_demo
|
|
from . import ir_demo_failure
|
|
from . import report_paperformat
|
|
from . import res_country
|
|
from . import res_lang
|
|
from . import res_partner
|
|
from . import res_bank
|
|
from . import res_config
|
|
from . import res_currency
|
|
from . import res_company
|
|
from . import res_users
|