default sequence for 'name' not loading in bank statement line

Bug #1153583 reported by Omal Bastin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP R&D Addons Team 3
6.1
New
Undecided
OpenERP Publisher's Warranty Team
7.0
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Hi All,
In openerp 7(also in openerp 6.1) when I go through the codes of model 'account.bank.statement.line', I found that the name field('OBI') have a default sequence(ir.sequence) set in the python file

'name': lambda self,cr,uid,context={}: self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement.line'),

 But no sequence is generated when new records are created. Further checking, I found that there is no record in ir.sequence having the code 'account.bank.statement.line'. Is it actually a bug?

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

On a quick note,you seem to have caught a good one!

affects: openerp-web → openobject-addons
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
tags: added: maintenance
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.