← Back to team overview

openerp-india team mailing list archive

[Bug 1016690] Re: [6.1 stable] Cannot create a bank account

 

Hello Amit,

No, I use the orginial code from OpenERP. I didn't install some extra
modules, just base and account.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1016690

Title:
  [6.1 stable] Cannot create a bank account

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  [Stable version on 22, June 2012 from openerp.com]

  I cannot create a bank account from the configuration menu.

  I went to 'Configuration' menu, on the dashboard, I click on 'Configure Bank account'. Fill the bank account form and click to save. I had this traceback :
  Traceback (most recent call last):
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/addons/base_iban/base_iban.py", line 88, in create
      return super(res_partner_bank, self).create(cr, uid, vals, context)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/addons/account/account_bank.py", line 34, in create
      self.post_write(cr, uid, [result], context=context)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/addons/account/account_bank.py", line 70, in post_write
      name = self._prepare_name(bank)
    File "/home/quentin/Development/OpenERP/Stable/6.1/openerp-server/openerp/addons/account/account_bank.py", line 44, in _prepare_name
      return (bank.bank_name or '') + ' ' + bank.acc_number
  TypeError: coercing to Unicode: need string or buffer, bool found
  2012-06-22 18:53:27,928 6120 ERROR ? openerp.netsvc: coercing to Unicode: need string or buffer, bool found

  Please see the attached screencast for more explanations.

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


References