← Back to team overview

credativ team mailing list archive

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

 

Hello Vishal,

I installed "wiki_sale_faq" module. and i am succefully create document
record .you did not get point. you are totally wrong  .your concept is
not clear regarding document.actually there is domain for parent
directory in document view defined in wiki_base_faq module.so you are
not able to see that record in list view. so this bug was not
reproducible in web also.


Thanks
Atul

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