** Changed in: openobject-addons
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/786081

Title:
  Pricelist versions with overlapping dates do not locate correct
  version

Status in OpenERP Addons (modules):
  Won't Fix

Bug description:
  Steps to reproduce:
  1) Create price list (A) version 1 (A-V1) that (say) gives 10% off all 
products for all dates - Line A-V1.1(sequence =5)
  2) Create another price list (B) version 1 (B-V1) that gives a fixed price on 
one product (P1) for a date range (promotion pricing)
  3) On price list A-V1 insert a line that references price list B so that for 
the nominated date range on B price list B will apply for the selected item in 
B. Make sure the promotional pricing line has a sequence number to make it the 
first line selected when looking for a price - Line AV1.2(sequence=1)
  4) Enter a sales order and create a line selling the promotional item P1. 
Make sure the sales order date is outside the promotional date range specified 
on B-V1 price list

  Result observed:
  OpenERP displays the error message "At least one price list has no active 
version!" (In fact it does not matter which item is ordered the same message is 
displayed)

  Expected result:
  The system should NOT fail on looking up a price on the Line 
AV1.2(sequence=1) (promo line). It should keep looking on the price list going 
to Line A-V1.1(sequence =5) which would give the normal 10% discount. 

  If this a "by design" rather than a bug, then I suggest we call it a
  bug since if the system behaved as I expected it would make it much
  more flexible for doing promotional pricing, i.e. the system should
  only give an error message if all lines on the price list have failed
  to deliver a price, not fail on the first line that references a price
  list that has expired.

  Version: addons 6 trunk  rev 4577

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

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

Reply via email to