The aim of this commit is to allow user to install `account_peppol` without facing a traceback. Context: The commit cffd0e9dd91376dd7fe4613f4fd94e659daaeef0 introduced a check based on a field introduced in the view by another module it depends on. The problem is that ticking the peppol checkbox install the `account_peppol` module but doesn't trigger an update of the `account_edi_ubl_cii` module. Before the commit: Impossible to installing `account_peppol`. After the commit: Installing `account_peppol` will update the view `account_edi_ubl_cii.account_move_send_form` if the field added by commit cffd0e9dd91376dd7fe4613f4fd94e659daaeef0 can't be found. opw-3874304 closes odoo/odoo#162677 X-original-commit: 465491d017ecf1c6efb26d3252471f17f4e9d856 Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
36 lines
1022 B
Python
36 lines
1022 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': "Peppol",
|
|
'summary': "This module is used to send/receive documents with PEPPOL",
|
|
'description': """
|
|
- Register as a PEPPOL participant
|
|
- Send and receive documents via PEPPOL network in Peppol BIS Billing 3.0 format
|
|
""",
|
|
'category': 'Accounting/Accounting',
|
|
'version': '1.0',
|
|
'depends': [
|
|
'account_edi_proxy_client',
|
|
'account_edi_ubl_cii',
|
|
],
|
|
'data': [
|
|
'data/cron.xml',
|
|
'views/account_journal_dashboard_views.xml',
|
|
'views/account_move_views.xml',
|
|
'views/res_partner_views.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'wizard/account_move_send_views.xml',
|
|
],
|
|
'demo': [
|
|
'demo/account_peppol_demo.xml',
|
|
],
|
|
'license': 'LGPL-3',
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'account_peppol/static/src/components/**/*',
|
|
],
|
|
},
|
|
'pre_init_hook': 'pre_init_hook',
|
|
}
|