← Back to team overview

credativ team mailing list archive

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

 

You have been subscribed to a public bug:

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'

** Affects: openobject-addons
     Importance: Medium
         Status: Fix Committed

-- 
Document: New record is not able to create 
https://bugs.launchpad.net/bugs/907744
You received this bug notification because you are a member of OpenERP Framework Experts, which is subscribed to OpenERP Addons.