I apologize,

This module not an official addon.

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

Status in OpenObject Addons Modules: Won't Fix

Bug description:
Hi:

Installed product_variant_configurator. 
I was trying to use the button configure_new_product on sale order.

This is the case:

1.- Push the button
2.- On the form, fill product template field and product field. I don't really 
understand the need of this mandatory field on form. If product variant is 
created by now, why do you need a configurator?. If proposal of configurator is 
creating a new product, the field product shouldn't be mandatory.
Nevermind... select a product on the field and try to include new dimensions 
and values. It's not possible. Cursor is going directly to field value. The 
field dimension is not selectable.

3.- Create new dimension, and try to save. I obtain this error


Environment Information : 
System : Linux-2.6.31-21-generic-i686-with-Ubuntu-9.10-karmic
OS Name : posix
Distributor ID: Ubuntu
Description:    Ubuntu 9.10
Release:        9.10
Codename:       karmic
Operating System Release : 2.6.31-21-generic
Operating System Version : #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_ES.UTF8
Python Version : 2.6.4
OpenERP-Client Version : 5.0.11
Last revision No. & ID :1076 [email protected]
Traceback (most recent call last):
  File "/home/ana/openerp/openerp/server/bin/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/ana/openerp/openerp/server/bin/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/home/ana/openerp/openerp/server/bin/service/web_services.py", line 
577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/ana/openerp/openerp/server/bin/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/ana/openerp/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/ana/openerp/openerp/server/bin/osv/osv.py", line 111, in 
execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File 
"/home/ana/openerp/openerp/server/bin/addons/product_variant_configurator/configurator_wizard.py",
 line 72, in create
    self.pool.get('product_variant_configurator.line').write(cr, uid, line_ids, 
{'configurator_id':id})
  File "/home/ana/openerp/openerp/server/bin/osv/orm.py", line 1547, in write
    self.datas[id_new].update(vals2)
KeyError: 0

4.- Now... open a new line in order. Push button new_product, an error is shown 
telling that the mandatory fields are not filled.
5.- Again... if you fill product before creating new variant? Why is needed the 
configure new product button? 7
6.- Fill the product and push new_product_button

I obtain this error:
Traceback (most recent call last):
  File "/home/ana/openerp/openerp/client/bin/widget/view/form_gtk/parser.py", 
line 110, in button_clicked
    id = self.form.screen.save_current()
  File "/home/ana/openerp/openerp/client/bin/widget/screen/screen.py", line 
447, in save_current
    id = self.current_model.save(reload=True)
  File "/home/ana/openerp/openerp/client/bin/widget/model/record.py", line 132, 
in save
    self.id = self.rpc.create(value, self.context_get())
  File "/home/ana/openerp/openerp/client/bin/rpc.py", line 349, in __call__
    return session.rpc_exec_auth('/object', 'execute', self.object, self.func, 
*args)
  File "/home/ana/openerp/openerp/client/bin/rpc.py", line 170, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/home/ana/openerp/openerp/client/bin/rpc.py", line 113, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/home/ana/openerp/openerp/client/bin/rpc.py", line 119, in execute
    res = self._sock.myreceive()
  File "/home/ana/openerp/openerp/client/bin/tiny_socket.py", line 81, in 
myreceive
    raise Myexception(str(res[0]), str(res[1]))
tiny_socket.Myexception: ('warning -- Integrity Error\n\nel valor null para la 
columna \xc2\xaborder_id\xc2\xbb viola la restricci\xc3\xb3n not null\n', 
'Traceback (most recent call last):\n  File 
"/home/ana/openerp/openerp/server/bin/netsvc.py", line 247, in dispatch\n    
result = LocalService(service_name)(method, *params)\n  File 
"/home/ana/openerp/openerp/server/bin/netsvc.py", line 76, in __call__\n    
return getattr(self, method)(*params)\n  File 
"/home/ana/openerp/openerp/server/bin/service/web_services.py", line 577, in 
execute\n    res = service.execute(db, uid, object, method, *args)\n  File 
"/home/ana/openerp/openerp/server/bin/osv/osv.py", line 70, in wrapper\n    
self.abortResponse(1, \'Integrity Error\', \'warning\', inst[0])\n  File 
"/home/ana/openerp/openerp/server/bin/netsvc.py", line 61, in abortResponse\n   
 raise Exception("%s -- %s\\n\\n%s"%(origin, description, details))\nException: 
warning -- Integrity Error\n\nel valor null para la columna 
\xc2\xaborder_id\xc2\xbb viola la restricci\xc3\xb3n not null\n\n')

It seems that this module is not "usable"? Or it is not finished by now... 

Thank you very much:

Ana



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to