Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016567Openbravo ERP07. Sales managementpublic2011-03-31 05:012017-03-31 14:36
eintelau 
dbaz 
normalminoralways
acknowledgedopen 
5
pi 
 
Core
No
0016567: New product selector allows selection of invalid prices and currencies in orders, etc
When you use the new product selector in a sales order, you can select a product/price from a price list version that is not current and/or a price list that is in a different currency.

Using an invalid price list version is not too bad, but the ability to select a price in a different currency is. When you do this, the order line has the currency set to the selected currency, but every other order function assumes that the lines will have the same currency as the header.
1) Use demo data
2) Create a new price list version of an existing price list for which is valid from start of 2011 (add prices)
3) Create a new price list & version in the US org, but with a EUR currency (add prices)
4) create new sales order for US org
5) Create line & open product selector
6) Remove all filters on the grid
7) Look at filter options on price list version.
8) Note there are 2 entries available for the 2 versions of the same price list
9) Select the EUR price list version
10) Select a product
11) Note that the order line currency is set to EUR but the order header currency is USD
Restrict available price list versions to
- Price lists that match order currency
- Version(s) that are valid for order date
No tags attached.
related to defect 00166763.0MP1 closed gorkaion The Product Selector is not filtering correctly 
Issue History
2011-03-31 05:01eintelauNew Issue
2011-03-31 05:01eintelauAssigned To => adrianromero
2011-03-31 05:01eintelauModules => Core
2011-03-31 18:14adrianromeroAssigned Toadrianromero => alostale
2011-04-07 10:32AinhoaPagolaRelationship addedrelated to 0016676
2011-04-11 10:21alostaleTarget Version => 3.0RC7
2011-04-11 10:22alostaleStatusnew => scheduled
2011-04-11 10:22alostaleAssigned Toalostale => iperdomo
2011-04-11 10:22alostalefix_in_branch => pi
2011-04-14 10:07iperdomoAssigned Toiperdomo => gorkaion
2011-04-26 12:18gorkaionNote Added: 0036088
2011-04-26 12:18gorkaionAssigned Togorkaion => iperdomo
2011-04-26 12:18gorkaionTarget Version3.0RC7 => 3.0RC8
2011-04-26 12:18gorkaionfix_in_branchpi =>
2011-05-05 10:27gorka_gilTarget Version3.0RC8 => 3.0MP0
2011-06-02 10:53dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:41dmitry_mezentsevTarget Version3.0MP1 => 3.0MP3
2011-09-01 16:09iperdomoTarget Version3.0MP3 => 3.0MP4
2011-09-06 11:58iperdomoAssigned Toiperdomo => dbaz
2011-09-26 12:47dbazTarget Version3.0MP4 =>
2011-10-28 20:23dmitry_mezentsevTypedefect => design defect
2012-09-24 23:21AugustoMauchNote Added: 0052453
2017-03-31 14:36alostaleStatusscheduled => acknowledged

Notes
(0036088)
gorkaion   
2011-04-26 12:18   
Selector module has to be extended to allow defining filter expressions on fields. Then price list version field has to be filtered by the document's currency in case it exists.
(0052453)
AugustoMauch   
2012-09-24 23:21   
Effort: 5
Impact: mid
Plan: mid