Remove reference to bank

This commit is contained in:
Cédric Krier
2008-12-18 20:13:11 +01:00
parent 5380bdbe0f
commit 2d3b6a2b7e
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="statement_journal_view_form">
@@ -34,7 +35,7 @@
]]>
</field>
</record>
<record model="account.journal.type" id="journal_type_bank">
<record model="account.journal.type" id="journal_type_statement">
<field name="name">Statement</field>
<field name="code">statement</field>
</record>
+2 -2
View File
@@ -261,8 +261,8 @@ class Line(OSV):
def __init__(self):
super(Line, self).__init__()
self._error_messages.update({
'debit_credit_account_bank_journal': 'Please provide debit and ' \
'credit account on bank journal.',
'debit_credit_account_statement_journal': 'Please provide debit and ' \
'credit account on statement journal.',
'same_debit_credit_account': 'Credit or debit account on ' \
'journal is the same than the statement line account!',
})