← Back to team overview

credativ team mailing list archive

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

 

Public bug reported:

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')

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

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

Title:
  [6.1.rc1] Server side error when clicking on "Print Invoice"

Status in OpenERP Addons (modules):
  New

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-addons/+bug/918203/+subscriptions


Follow ups

References