Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002921Openbravo ERP02. Master data managementpublic2008-04-22 16:482008-11-06 09:09
psarobe 
pheenan 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
Core
No
0002921: Button Create pricelist overwrite values
Environment:
Oracle/Postgres
Windows/Linux
Trunk
FF/IE7

In window Price list, when clicking the button Create price list and if exists products in tab Product prices and if there is no value for field base version (default) (tab price list version) the process put 0 for the prices for those products, so overwrite these values

Steps
=====
1. Go to master data management->Business partner set up->Pricing->Pricelist
2.Click new and save
3. Move to next tab and click new and save. Don't fill the value base version (default)
4. Move to the next tab and select one product and fill the values for the prices
5. Go back to tab price list version and click the button Create price list
6. Check that the process has overwrite the prices putting 0 to them

THIS IS WRONG

Solution
========
There must be a double check on the process associate to this button that whenever you execute it and there is no value for the field base version (defaul) a message should show up saying ("There must be a value for the ... to execute this process")
No tags attached.
depends on backport 0003691 closed pheenan Button Create pricelist overwrite values 
png pricelistversion.PNG (159,381) 2008-06-18 18:24
https://issues.openbravo.com/file_download.php?file_id=94&type=bug
png
Issue History
2008-06-18 18:22psarobeStatusresolved => new
2008-06-18 18:22psarobeResolutionfixed => open
2008-06-18 18:22psarobeNote Added: 0007837
2008-06-18 18:24psarobeStatusnew => scheduled
2008-06-18 18:24psarobeResolutionopen => open
2008-06-18 18:24psarobeDescription Updated
2008-06-18 18:24psarobeFile Added: pricelistversion.PNG
2008-09-19 18:05svnbotCheckin
2008-09-19 18:05svnbotNote Added: 0009101
2008-09-19 18:05svnbotStatusscheduled => resolved
2008-09-19 18:05svnbotResolutionopen => fixed
2008-09-19 18:05svnbotsvn_revision => 7601
2008-11-06 09:09psarobeRegression testing => No
2008-11-06 09:09psarobeStatusresolved => closed

Notes
(0006510)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1948889 [^]
(0003607)
pheenan   
2008-05-06 10:55   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1883435
Originator: NO

Fixed in revision 3959. Added validation to check for the existence of a Base Version. This is required to produce a valid price list.
(0007837)
psarobe   
2008-06-18 18:22   
In postgres gives you an error. Please see the ATTACH

Also remember to update the box Fixed in version as trunk
(0009101)
svnbot   
2008-09-19 18:05   
Repository: openbravo
Revision: 7601
Author: cromeroherrero
Date: 2008-09-19 18:05:40 +0200 (Fri, 19 Sep 2008)

Fixed bug 2921: Button Create pricelist overwrite values

---
U trunk/src-db/database/model/functions/M_PRICELIST_CREATE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=7601&sc=1 [^]