← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 828118] [NEW] Sales Orders Add Product Bug

 

Public bug reported:

Hi,

when trying to add a product to sales order an error is generated if we
use a particular pricelist that includes a discount. If using a
pricelist without a discount it works fine.

Client error returned for pricelist with discount:

Environment Information : 
System : Windows-Vista-6.1.7601-SP1
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7601
Operating System Architecture : 32bit
Operating System Locale : en_GB.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\sale_margin\sale_margin.py", line 31, in product_id_change
  File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\product_visible_discount\product_visible_discount.py", line 94, in product_id_change
  File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\product_visible_discount\product_visible_discount.py", line 55, in get_real_price
IndexError: list index out of range

Thanks for your help.

Kind regards,

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  Sales Orders Add Product Bug

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi,

  when trying to add a product to sales order an error is generated if
  we use a particular pricelist that includes a discount. If using a
  pricelist without a discount it works fine.

  Client error returned for pricelist with discount:

  Environment Information : 
  System : Windows-Vista-6.1.7601-SP1
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7601
  Operating System Architecture : 32bit
  Operating System Locale : en_GB.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "netsvc.pyo", line 489, in dispatch
    File "service\web_services.pyo", line 599, in dispatch
    File "osv\osv.pyo", line 122, in wrapper
    File "osv\osv.pyo", line 176, in execute
    File "osv\osv.pyo", line 167, in execute_cr
    File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\sale_margin\sale_margin.py", line 31, in product_id_change
    File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\product_visible_discount\product_visible_discount.py", line 94, in product_id_change
    File "C:\Program Files (x86)\OpenERP 6.0\Server\addons\product_visible_discount\product_visible_discount.py", line 55, in get_real_price
  IndexError: list index out of range

  Thanks for your help.

  Kind regards,

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/828118/+subscriptions


Follow ups

References