← Back to team overview

banking-addons-team team mailing list archive

[Bug 1275202] [NEW] Error message to improve at bank statement import

 

Public bug reported:

After creating a new DB with module account_statement_base_import, if I
try to import a bank statement (cf attachement) with lines dated from a
previous fy not created in my db then I get a message that could be
improve :


*****************************************************************************************************************************
Erreur d'import de relevé

The statement cannot be created: Error: except_osv
Description: (u'Erreur!', u"Il n'y a pas de p\xe9riode d\xe9finie pour cette date : 2013-02-28 00:00:00\nMerci d'en cr\xe9er une.")
Traceback: File "/home/fclementi/openerp-instances/7ocb/parts/bank-statement-reconcile/account_statement_base_import/statement.py", line 185, in statement_import
context)
File "/home/fclementi/openerp-instances/7ocb/parts/bank-statement-reconcile/account_statement_base_import/statement.py", line 123, in prepare_statetement_lines_vals
context=context)
File "/home/fclementi/openerp-instances/7ocb/parts/addons/account/account.py", line 1034, in find
raise osv.except_osv(_('Error!'), _('There is no period defined for this date: %s.\nPlease create one.')%dt)*****************************************************************************************************************************

thx

frederic

** Affects: banking-addons
     Importance: Undecided
         Status: New

** Attachment added: "pp022013.csv"
   https://bugs.launchpad.net/bugs/1275202/+attachment/3965003/+files/pp022013.csv

-- 
You received this bug notification because you are a member of Banking
Addons Core Editors, which is subscribed to Banking Addons.
https://bugs.launchpad.net/bugs/1275202

Title:
  Error message to improve at bank statement import

Status in OpenERP Banking Addons:
  New

Bug description:
  After creating a new DB with module account_statement_base_import, if
  I try to import a bank statement (cf attachement) with lines dated
  from a previous fy not created in my db then I get a message that
  could be improve :

  
  *****************************************************************************************************************************
  Erreur d'import de relevé

  The statement cannot be created: Error: except_osv
  Description: (u'Erreur!', u"Il n'y a pas de p\xe9riode d\xe9finie pour cette date : 2013-02-28 00:00:00\nMerci d'en cr\xe9er une.")
  Traceback: File "/home/fclementi/openerp-instances/7ocb/parts/bank-statement-reconcile/account_statement_base_import/statement.py", line 185, in statement_import
  context)
  File "/home/fclementi/openerp-instances/7ocb/parts/bank-statement-reconcile/account_statement_base_import/statement.py", line 123, in prepare_statetement_lines_vals
  context=context)
  File "/home/fclementi/openerp-instances/7ocb/parts/addons/account/account.py", line 1034, in find
  raise osv.except_osv(_('Error!'), _('There is no period defined for this date: %s.\nPlease create one.')%dt)*****************************************************************************************************************************

  thx

  frederic

To manage notifications about this bug go to:
https://bugs.launchpad.net/banking-addons/+bug/1275202/+subscriptions


Follow ups

References