summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>