Files
odoo_source/addons/partner_autocomplete/__manifest__.py
T
Bastien Fafchamps (bafa) 7fa1f1dbd0 [FIX] partner_autocomplete: lazyload jsvat.js lib
Before commit:
The `jsvat.js` library used to be lazyloaded but was added to the bundle
in the manifest during the conversion to owl and the lib was loaded at
startup every time.

After commit:
The `jsvat.js` file is lazy loaded using loadJS when the component is
first selected so the lib is only loaded when it is actually needed.

The lib is also loaded before running the tests to prevent the asynchronous
call from making the tests fail.

closes odoo/odoo#102740

X-original-commit: 07845e522fb9212126e9f206b4166040e4eea166
Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-10-08 08:48:47 +02:00

39 lines
1.0 KiB
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': "Partner Autocomplete",
'summary': "Auto-complete partner companies' data",
'version': '1.1',
'description': """
Auto-complete partner companies' data
""",
'category': 'Hidden/Tools',
'depends': [
'iap_mail',
],
'data': [
'security/ir.model.access.csv',
'views/res_partner_views.xml',
'views/res_company_views.xml',
'views/res_config_settings_views.xml',
'data/cron.xml',
],
'auto_install': True,
'assets': {
'web.assets_backend': [
'partner_autocomplete/static/src/scss/*',
'partner_autocomplete/static/src/js/*',
'partner_autocomplete/static/src/xml/*',
],
'web.tests_assets': [
'partner_autocomplete/static/lib/**/*',
],
'web.qunit_suite_tests': [
'partner_autocomplete/static/tests/**/*',
],
},
'license': 'LGPL-3',
}