Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041670
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2019-08-21 12:312019-09-12 09:37
Reportersanti_lozanoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revisionec6578f7635c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041670: Pack not appearing in product search with multiple price list

DescriptionAfter creating a multiple price list and a pack of products (from discounts and promotions), the pack appears in product search (Web POS) for the default client but not in product search for the client with the new price list. Although the pack (discount) is being applied when choosing the products of the pack one by one (for that customer)
Steps To Reproduce>>>Enter in livebuilds
*go to http://livebuilds.openbravo.com/ [^] then in Retail with Modules enter in “pgsql_pi Backend” for the back office (Openbravo/openbravo) and “Webpos” for the Web POS (vallblanca/openbravo)
>>>Create Multiple Price List
*in the back office, window Price List, create a new one. Name = Tarifa 4, Currency = EUR, Sales Price List= selected, Active = Selected, Prices includes Tax = selected, the rest in blank.
*Tarifa 4 selected, go to Price List Version tab, create a new one. Name = Tarifa 4 Version, Valid From Date = 01-01-[current year], Price List Schema = The White Valley Group Price List Schema, Base Version (Default) = The White Valley Group Sale Price List Version.
*With Tarifa 4 Version selected, click on button Create Price List, then OK. Go to Product Price tab, change price for Ale Beer to 0.5 and 0.5 (just to see that we can have different prices in that new price list).
*Open window Business Partner, select Carl Studson. In Customer tab, change Price List to Tarifa 4.
>>>Pack problems
*In window Discounts and Promotions, search for “pack” in Discount/Promotion Type column. SCO Test Pack appears (part of test data), select it and see its related products in Products tab.
*In case that SCO Test Pack doesn’t appear, create a new record. Organization= Vall Blanca Store, Discount/Promotion Type = Pack, Name = SCO Test Pack, Starting Date = 01-01-2017, Ending Date = 01-01-2020, Priority = 1, Included Product = Only those defined, for the rest of fields beginning with Included in Filter Options Section put All excluding defined, Discount/Promotion Price = 20.00, Currency = EUR. Go to products tab, create two new ones. First: Product =Headlamp ultralight, Quantity = 2. Second: Product: Avalanche transceiver, Quantity = 1.
*Enter in the Web POS. Default customer is VBS customer. Search for product SCO Test Pack, it appears, select it and add it to the ticket. It is working. Delete it from the ticket.
*Select customer (by clicking customer name VBS Customer) Carl Studson (search for it in the popup). Search for “pack” in products search like before, check that SCO Test Pack doesn’t appear for that customer (it isn’t in its price list). But search for “Avalanche transceiver” and add one to the ticket, add also two “Headlamp ultralight” to the ticket. Check that the discount is being applied (Image 1).
TagsNo tags attached.
Attached Filespng file icon Image 1.png [^] (230,642 bytes) 2019-08-21 12:31


png file icon Image 2.png [^] (150,023 bytes) 2019-08-21 12:32

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0114109)
santi_lozano (reporter)
2019-08-21 12:32

Note that the client that reported the problem could find in the search of POS the pack as a product but when clicking on it to add it to the ticket a message appeared (Image 2).
Moreover he is using a version 19Q1.1 and if possible a patch (.diff) for that version would be helpful
(0114310)
hgbot (developer)
2019-08-29 08:00

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b4c64172ed316354b54157627b83d85c950792cc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 29 11:30:30 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b4c64172ed316354b54157627b83d85c950792cc [^]

Related to issue 41670 : Pack should be appeared in Product Search even Multipricelist is enabled

* PriceList should not be validated when adding pack to the receipt.
  It should be validated when adding products from the pack

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0114311)
hgbot (developer)
2019-08-29 08:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ec6578f7635c019340e4d0680cf2a75de33ba57a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 29 11:30:24 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ec6578f7635c019340e4d0680cf2a75de33ba57a [^]

Fixed issue 41670 : Pack should be appeared in Product Search even Multipricelist is enabled

* Modified Product query to list Pack in the Product Search if default PriceList is different from Customer Pricelist

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---

- Issue History
Date Modified Username Field Change
2019-08-21 12:31 santi_lozano New Issue
2019-08-21 12:31 santi_lozano Assigned To => Retail
2019-08-21 12:31 santi_lozano File Added: Image 1.png
2019-08-21 12:31 santi_lozano Resolution time => 1568152800
2019-08-21 12:31 santi_lozano Triggers an Emergency Pack => No
2019-08-21 12:32 santi_lozano File Added: Image 2.png
2019-08-21 12:32 santi_lozano Note Added: 0114109
2019-08-21 12:40 eugeni Issue Monitored: eugeni
2019-08-27 10:55 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-08-27 10:55 ranjith_qualiantech_com Status new => scheduled
2019-08-29 08:00 hgbot Checkin
2019-08-29 08:00 hgbot Note Added: 0114310
2019-08-29 08:01 hgbot Checkin
2019-08-29 08:01 hgbot Note Added: 0114311
2019-08-29 08:01 hgbot Status scheduled => resolved
2019-08-29 08:01 hgbot Resolution open => fixed
2019-08-29 08:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ec6578f7635c019340e4d0680cf2a75de33ba57a [^]
2019-09-12 09:37 marvintm Review Assigned To => marvintm
2019-09-12 09:37 marvintm Status resolved => closed
2019-09-12 09:37 marvintm Fixed in Version => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker