[MERGE] forward port of branch 8.0 up to 2b192be
[odoo/odoo.git] / addons / account / account_bank_statement.py
index f18da1e..5426e8c 100644 (file)
@@ -821,7 +821,6 @@ class account_bank_statement_line(osv.osv):
         'currency_id': fields.many2one('res.currency', 'Currency', help="The optional other currency if it is a multi-currency entry."),
     }
     _defaults = {
-        'name': lambda self,cr,uid,context={}: self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement.line'),
         'date': lambda self,cr,uid,context={}: context.get('date', fields.date.context_today(self,cr,uid,context=context)),
     }