Hi,
I created a new pricelist for specific clients. The pricelist has one version
and one rule. The rule reduces the price of products in a certain product
category. The rule is based on public price.
When creating a new sales order line the rule works fine for those products.
The problem is that for all other products not in that product category, the
customer price is 0.00 in the products list and when I select a product I get
the error:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 235,
in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 74, in
__call__
return getattr(self, method)(*params)
File
"/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line
526, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59,
in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119,
in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111,
in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/usr/lib/python2.5/site-packages/openerp-server/addons/product_visible_discount.zip/product_visible_discount/product.py",
line 56, in product_id_change
price=result['price_unit']
KeyError: 'price_unit'
I recently installed the product_visible_discount module so the discount will
apear in the sales order line. Could this be the problem?
Thanks,
Gilad
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=39447#39447
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users