ACCOUNT, bank statement line: added a note field.

bzr revid: bch-6962ec966d73af5d5fa9c2ac793fd13c948e2ae9
This commit is contained in:
bch 2007-08-02 07:31:58 +00:00
parent 5a9ee0a21b
commit bf6a636c38
2 changed files with 3 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'),
'note': fields.text('Notes')
}
_defaults = {
'name': lambda self,cr,uid,context={}: self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement.line'),

View File

@ -338,6 +338,8 @@
<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}"/>
<separator string="Notes" colspan="4"/>
<field name="note" nolabel="1" colspan="4"/>
</form>
</field>
</page><page string="Real Entries">