[REF] account: adapt main_flow tour and __init__.py for new sync module
This part of the tour can't work with the new online synchronization module (account_online_synchronization) due to the fact that we are using an iframe to display the list of institutions and therefore those steps won't work within the iframe. Also remove account_plaid & account_yodlee from _auto_install_l10n as those modules don't exists anymore. closes odoo/odoo#50267 Related: odoo/upgrade#1780 Related: odoo/enterprise#8200 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
This commit is contained in:
committed by
Cedric Snauwaert
parent
1902096b8e
commit
442326bc29
@@ -46,12 +46,8 @@ def _auto_install_l10n(env):
|
||||
module_list.append('l10n_' + country_code.lower())
|
||||
else:
|
||||
module_list.append('l10n_generic_coa')
|
||||
if country_code == 'US':
|
||||
module_list.append('account_plaid')
|
||||
if country_code in ['US', 'CA']:
|
||||
module_list.append('account_check_printing')
|
||||
if country_code in ['US', 'AU', 'NZ', 'CA', 'CO', 'EC', 'ES', 'FR', 'IN', 'MX', 'GB']:
|
||||
module_list.append('account_yodlee')
|
||||
if country_code in SYSCOHADA_LIST + [
|
||||
'AT', 'BE', 'CA', 'CO', 'DE', 'EC', 'ES', 'ET', 'FR', 'GR', 'IT', 'LU', 'MX', 'NL', 'NO',
|
||||
'PL', 'PT', 'RO', 'SI', 'TR', 'GB', 'VE', 'VN'
|
||||
|
||||
@@ -73,8 +73,6 @@ class ResConfigSettings(models.TransientModel):
|
||||
'-This installs the account_batch_payment module.')
|
||||
module_account_sepa = fields.Boolean(string='SEPA Credit Transfer (SCT)')
|
||||
module_account_sepa_direct_debit = fields.Boolean(string='Use SEPA Direct Debit')
|
||||
module_account_plaid = fields.Boolean(string="Plaid Connector")
|
||||
module_account_yodlee = fields.Boolean("Bank Interface - Sync your bank feeds automatically")
|
||||
module_account_bank_statement_import_qif = fields.Boolean("Import .qif files")
|
||||
module_account_bank_statement_import_ofx = fields.Boolean("Import in .ofx format")
|
||||
module_account_bank_statement_import_csv = fields.Boolean("Import in .csv format")
|
||||
@@ -149,11 +147,6 @@ class ResConfigSettings(models.TransientModel):
|
||||
if self.module_account_budget:
|
||||
self.group_analytic_accounting = True
|
||||
|
||||
@api.onchange('module_account_yodlee')
|
||||
def onchange_account_yodlee(self):
|
||||
if self.module_account_yodlee:
|
||||
self.module_account_plaid = True
|
||||
|
||||
@api.onchange('tax_exigibility')
|
||||
def _onchange_tax_exigibility(self):
|
||||
res = {}
|
||||
|
||||
@@ -464,19 +464,6 @@
|
||||
<t groups="account.group_account_user">
|
||||
<h2>Bank & Cash</h2>
|
||||
<div class="row mt16 o_settings_container" id="bank_cash">
|
||||
<div class="col-12 col-lg-6 o_setting_box"
|
||||
id="account_yodlee"
|
||||
title="Get your bank statements automatically imported every 4 hours, or in one-click, using Yodlee and Plaid services. Once installed, set “Bank Feeds” to “Bank Synchronization” in bank account settings. Then, click “Configure” on the online account to enter your bank credentials.">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_account_yodlee" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_account_yodlee" string="Automatic Import"/>
|
||||
<div class="text-muted">
|
||||
Import your bank statements automatically
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box"
|
||||
id="import_bank_statements_csv"
|
||||
title="Once installed, set 'Bank Feeds' to 'File Import' in bank account settings.This adds a button to import from the Accounting dashboard.">
|
||||
|
||||
@@ -956,26 +956,6 @@ tour.stepUtils.mobileModifier(tour.stepUtils.autoExpandMoreButtons('.o_control_p
|
||||
trigger: '.o_app[data-menu-xmlid="account_accountant.menu_accounting"]',
|
||||
content: _t('Go to Accounting'),
|
||||
position: 'bottom',
|
||||
}, {
|
||||
edition: "enterprise",
|
||||
trigger: 'a[data-name=action_configure_bank_journal]',
|
||||
content: _t('Configure Bank Journal'),
|
||||
position: 'bottom',
|
||||
}, {
|
||||
edition: "enterprise",
|
||||
trigger: '.js_configure_manually',
|
||||
content: _t('Enter manual data for bank account'),
|
||||
position: 'bottom',
|
||||
}, {
|
||||
edition: "enterprise",
|
||||
trigger: ".o_field_widget[name=acc_number]",
|
||||
content: _t("Enter an account number"),
|
||||
position: "right",
|
||||
run: "text 867656544",
|
||||
}, {
|
||||
trigger: ".modal-footer .btn-primary",
|
||||
content: _t('Save'),
|
||||
position: 'bottom',
|
||||
}, {
|
||||
edition: "enterprise",
|
||||
trigger: 'div[name=bank_statement_create_button] > a[data-name=create_bank_statement], div[name=bank_statement_create_button] > a[data-name=create_bank_statement]',
|
||||
|
||||
Reference in New Issue
Block a user