At the moment, XSD files are automatically downloaded at database initialization, which is quite unnecessary. The idea is to change Odoo's use of XSDs from being systematically downloaded and used for validation to simply being available if desired (e.g. for development or for customers who want them). To achieve this, this commit does the following: - remove the XSD download crons; - provide a 'download XSDs' button in the Settings (next to the debug mode button) which is available in debug mode; - skip XSD validation if any required XSD file is not present; and - deprecate the 'force_reload' option. Entreprise PR: odoo/enterprise#38350 Task id: 3010716 closes odoo/odoo#118790 X-original-commit: c8174c7914e567489de74b574b076467440bdb2d Related: odoo/enterprise#39879 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
43 lines
1.5 KiB
Python
43 lines
1.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import test_account_move_reconcile
|
|
from . import test_account_move_payments_widget
|
|
from . import test_account_move_out_invoice
|
|
from . import test_account_move_out_refund
|
|
from . import test_account_move_in_invoice
|
|
from . import test_account_move_in_refund
|
|
from . import test_account_move_entry
|
|
from . import test_account_move_date_algorithm
|
|
from . import test_invoice_tax_totals
|
|
from . import test_account_inalterable_hash
|
|
from . import test_account_journal
|
|
from . import test_account_account
|
|
from . import test_account_tax
|
|
from . import test_account_analytic
|
|
from . import test_account_payment
|
|
from . import test_account_bank_statement
|
|
from . import test_account_move_partner_count
|
|
from . import test_account_move_rounding
|
|
from . import test_account_invoice_report
|
|
from . import test_account_move_line_tax_details
|
|
from . import test_account_journal_dashboard
|
|
from . import test_chart_template
|
|
from . import test_digest
|
|
from . import test_fiscal_position
|
|
from . import test_sequence_mixin
|
|
from . import test_tax
|
|
from . import test_invoice_taxes
|
|
from . import test_account_move_send
|
|
from . import test_account_all_l10n
|
|
from . import test_account_onboarding
|
|
from . import test_portal_attachment
|
|
from . import test_tax_report
|
|
from . import test_transfer_wizard
|
|
from . import test_account_incoming_supplier_invoice
|
|
from . import test_payment_term
|
|
from . import test_account_payment_register
|
|
from . import test_tour
|
|
from . import test_early_payment_discount
|
|
from . import test_ir_actions_report
|
|
from . import test_download_xsds
|