mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Remove data that create a bank journal because it blocks the loading of the chart of accounts when the module is installed at the same time as the chart of account (via dependencies)
This commit is contained in:
@@ -16,7 +16,15 @@ one in EUR and one in USD).
|
||||
Configuration
|
||||
=============
|
||||
|
||||
A journal named *Check Received* is automatically created. It will be available as a payment method in Odoo. On this journal, you must configure the *Default Debit Account* and *Defaut Credit Account* ; this is the account via which the amounts of checks will transit between the reception of a check from a customer and the validation of the check deposit in Odoo.
|
||||
In the menu *Accounting > Configuration > Accounting > Journals*, create a new journal:
|
||||
|
||||
* Name: Checks Received
|
||||
* Type: Bank
|
||||
* Short Code: CHK (or any code you want)
|
||||
* Default Debit Account: select an account for checks received
|
||||
* Default Credit Account: idem
|
||||
|
||||
This bank journal will be available as a payment method in Odoo. The account you configured as *Default Debit Account* and *Defaut Credit Account* is the account via which the amounts of checks will transit between the reception of a check from a customer and the validation of the check deposit in Odoo.
|
||||
|
||||
On the Settings page of the Accounting, you should configure the *Check Deposit Offsetting Account*:
|
||||
|
||||
|
||||
@@ -19,11 +19,9 @@
|
||||
'data': [
|
||||
'views/account_deposit_view.xml',
|
||||
'views/account_move_line_view.xml',
|
||||
'data/account_deposit_sequence.xml',
|
||||
'views/account_config_settings.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'security/check_deposit_security.xml',
|
||||
'data/account_data.xml',
|
||||
'report/report.xml',
|
||||
'report/report_checkdeposit.xml',
|
||||
],
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014-2015 Akretion (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
The licence is in the file __openerp__.py
|
||||
-->
|
||||
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- The user will have to configure manually the default_credit_account_id
|
||||
and default_debit_account_id, we can't do that for him -->
|
||||
<record id="check_received_journal" model="account.journal">
|
||||
<field name="name">Check Received</field>
|
||||
<field name="code">CHK</field>
|
||||
<field name="type">bank</field>
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
account_check_deposit for Odoo
|
||||
Copyright (C) 2012-2015 Akretion (http://www.akretion.com/)
|
||||
@author: Benoît GUILLOT <benoit.guillot@akretion.com>
|
||||
The licence is in the file __openerp__.py
|
||||
-->
|
||||
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
|
||||
<record id="seq_account_check_deposit" model="ir.sequence">
|
||||
<field name="name">Account Check Deposit</field>
|
||||
<field name="code">account.check.deposit</field>
|
||||
<field name="prefix">DEP</field>
|
||||
<field name="padding">3</field>
|
||||
<field name="company_id" eval="False"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user