Remove reference to bank
This commit is contained in:
+3
-2
@@ -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
@@ -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!',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user