← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707516] Re: Field "name" error generating quote from opportunity

 

Hello Amit,

I attach an image with my opportunity scenario, and the complete
Traceback is:

[27/Jan/2011:09:27:33] HTTP Traceback (most recent call last):
  File "/home/amosoviedo/openerp6/openobject-client-web/lib/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/home/amosoviedo/openerp6/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/amosoviedo/openerp6/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/amosoviedo/openerp6/openobject-client-web/openobject/controllers/_root.py", line 87, in default
    return request.handler()
  File "/home/amosoviedo/openerp6/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/home/amosoviedo/openerp6/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/amosoviedo/openerp6/openobject-client-web/openobject/tools/_validate.py", line 88, in func_wrapper
    return func(*args, **kw)
  File "/home/amosoviedo/openerp6/openobject-client-web/openobject/tools/_validate.py", line 105, in func_wrapper
    return func(*args, **kw)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/controllers/form.py", line 419, in save
    res = self.button_action(params)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/controllers/form.py", line 559, in button_action
    return self.BUTTON_ACTIONS_BY_BTYPE[btype](self, button_name, params)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/controllers/form.py", line 505, in button_action_object
    res = rpc.session.execute('object', 'execute', model, name, ids, ctx)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/utils/rpc.py", line 357, in execute
    return self.gateway.execute(obj, method, *args)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/utils/rpc.py", line 147, in execute
    return self.__execute(obj, method, args)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/utils/rpc.py", line 129, in __execute
    common.warning(err.data)
  File "/home/amosoviedo/openerp6/openobject-client-web/addons/openerp/utils/common.py", line 69, in warning
    raise TinyWarning(message=msg, title=title or _("Warning"))
TinyWarning: The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: name - name]

Thanks and regards

** Attachment added: "Opportunities.png"
   https://bugs.launchpad.net/openobject-addons/+bug/707516/+attachment/1809940/+files/Opportunities.png

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/707516

Title:
  Field "name" error generating quote from opportunity

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  After creating an opportunity I try to create a quote but when I click
  on Generate Quote Button I get that the column name has a null
  restriction. I supose that the column of sale_order is the name of
  Opportunity, It is mandatory so is set.





References