← Back to team overview

openerp-india team mailing list archive

[Bug 918203] Re: [6.1.rc1] Server side error when clicking on "Print Invoice"

 

** Branch linked: lp:openobject-server

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

Title:
  [6.1.rc1] Clicking on "Print Invoice" generates a server-side
  traceback and doesn't create the attachment.

Status in OpenERP Server:
  Fix Released

Bug description:
  On a basic test, the server log reports, when clicking on "Print
  Invoice" (see screenshot):

  2012-01-18 13:46:55,665][?] ERROR:report:Could not create saved report attachment
  Traceback (most recent call last):
    File "/home/decindus/private/tools/openerp-trunk/server/openerp/report/report_sxw.py", line 482, in create_source_pdf
      }, context=context
    File "/home/decindus/private/tools/openerp-trunk/server/openerp/addons/base/ir/ir_attachment.py", line 117, in create
      return super(ir_attachment, self).create(cr, uid, values, context)
    File "/home/decindus/private/tools/openerp-trunk/server/openerp/osv/orm.py", line 4140, in create
      self._check_selection_field_value(cr, user, field, vals[field], context=context)
    File "/home/decindus/private/tools/openerp-trunk/server/openerp/osv/orm.py", line 2684, in _check_selection_field_value
      _('The value "%s" for the field "%s.%s" is not in the selection') % (value, self._table, field))
  except_orm: (u'ValidateError', u'The value "out_invoice" for the field "ir_attachment.type" is not in the selection')

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


References