← Back to team overview

openerp-india team mailing list archive

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

 

Traceback is no more now but there is problem with domain on parent_id field there is domain "'parent_id','=',ref('dir_sale)'" 
 this is working fine for GTK client but not seems working for web-client 

i have attached video for reference and setting as new

** Attachment added: "document_domain.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/907744/+attachment/2653867/+files/document_domain.ogv

** Changed in: openobject-addons
       Status: Invalid => New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  New

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