Sales Orders Add Product Bug

Bug #828118 reported by Steven Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

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,

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Steven Butler,

I have checked your issue with latest updated code with stable6 and trunk both but I didn't face any problem.

Would please provide your end configuration with video or screenshot so we can reproduce same at our end.

Thanks and waiting for your reply.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Addons because there has been no activity for 60 days.]

Changed in openobject-addons:
status: Incomplete → Expired
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

Would you please check this again with latest updated code.

Currently I am closing this issue and if you still face the problem then you can reopen this with more information.

Thanks.

Changed in openobject-addons:
status: Expired → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.