[REM] Revert OFXparse changes for import merege

This commit is contained in:
Graeme Gellatly
2014-02-02 22:48:28 +13:00
parent 341552eef9
commit f65e3a3a57
2 changed files with 27 additions and 43 deletions

View File

@@ -21,17 +21,17 @@
from openerp.tools.translate import _
from openerp.osv import fields, orm
class AccountStatementProfile(orm.Model):
class AccountStatementProfil(orm.Model):
_inherit = "account.statement.profile"
def get_import_type_selection(self, cr, uid, context=None):
"""
Inherited from parent to add parser.
"""
selection = super(AccountStatementProfile, self
).get_import_type_selection(cr, uid, context=context)
selection.extend([('ofx_so', _('OFX - Open Financial Exchange')),
('ofx_alt', _('OFX - (memo rather than type in ref field)'))])
selection = super(AccountStatementProfil, self
).get_import_type_selection(cr, uid,
context=context)
selection.append(('ofx_so', _('OFX - Open Financial Exchange')))
return selection
_columns = {