summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbch <>2007-08-02 07:49:32 +0000
committerbch <>2007-08-02 07:49:32 +0000
commitf34eccbbfbc596c0c78cfd27e3dcf99bcb0c5303 (patch)
treef7c4e0079e07d5e54bf0f82027faecf2b3b7a1ce
parentbf6a636c3892c025c3cfd9325d6beb3d0f5269fd (diff)
ACCOUNT, bank statement line: added a ref field.
bzr revid: bch-e5abd7bc06440c9b22a5e45f97d6d0e9a9174c16
-rw-r--r--addons/account/account_bank_statement.py1
-rw-r--r--addons/account/account_view.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py
index 550e2101bd4..c7391592bc0 100644
--- a/addons/account/account_bank_statement.py
+++ b/addons/account/account_bank_statement.py
@@ -290,6 +290,7 @@ class account_bank_statement_line(osv.osv):
'reconcile_id': fields.many2one('account.bank.statement.reconcile', 'Reconcile', states={'confirm':[('readonly',True)]}),
'move_ids': fields.many2many('account.move', 'account_bank_statement_line_move_rel', 'move_id','statement_id', 'Moves'),
+ 'ref': fields.char('Ref.', size=32),
'note': fields.text('Notes')
}
_defaults = {
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index a054f0dc4eb..dc5b86c62eb 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -338,6 +338,7 @@
<field name="account_id" domain="[('journal_id','=',parent.journal_id), ('type', '&lt;&gt;', 'view')]"/>
<field name="amount"/>
<field name="reconcile_id" context="{'partner_id':partner_id,'amount':amount,'account_id':account_id}"/>
+ <field name="ref"/>
<separator string="Notes" colspan="4"/>
<field name="note" nolabel="1" colspan="4"/>
</form>