ACCOUNT, bank statement line: added a ref field.

bzr revid: bch-e5abd7bc06440c9b22a5e45f97d6d0e9a9174c16
This commit is contained in:
bch 2007-08-02 07:49:32 +00:00
parent bf6a636c38
commit f34eccbbfb
2 changed files with 2 additions and 0 deletions

View File

@ -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 = {

View File

@ -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>