← Back to team overview

credativ team mailing list archive

[Bug 907744] Re: Document: New record is not able to create

 

** Changed in: openobject-addons
       Status: Fix Committed => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

-- 
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/907744

Title:
  Document: New record is not able to create

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Sales > Documents > Documents

  when i tried to create record from web-client it generates following
  Tracback

  
  Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/han/rdtool/addons/trunk/base_calendar/base_calendar.py", line 1636, in create
      return super(ir_attachment, self).create(cr, uid, vals, context=context)
    File "/home/han/rdtool/addons/trunk/document/document.py", line 289, in create
      ('res_id', '=', vals['res_id']),
  KeyError: 'res_id'

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