Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038879 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 02. Master data management | major | always | 2018-06-19 19:27 | 2018-07-04 15:52 | |||
Reporter | gsuarez | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR18Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fceb99795039 | ||||
Projection | none | ETA | none | Target Version | 3.0PR18Q2.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | 2486 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2017-09-07 | |||||||
Regression introduced in release | 3.0PR17Q4 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/9ba0cfebdf14fb6bf6dec4a657674975d16373a2 [^] | |||||||
Triggers an Emergency Pack | Yes | |||||||
Summary | 0038879: the process "Create price list" increases the product price incrementally | |||||||
Description | Run several times "Create price list" only calculates the price of one product and the other leaves you the same. That is, applying the process many times over the same version, modifies the price of one of the products incrementally. I can send a video if needed | |||||||
Steps To Reproduce | 1. create price list 2. activate checks: default,Sales price list and Price ioncludes Tax 3. create price list version: 3.1 create Price list schema 3.2 create two lines with two different products that belong to the same product category 3.3 set Unit price discount% = -50 4. assign the previous Price list schema to the version 5. set base version (Default)the version must be of purchase, without activated checks. 6. click "Create price list" and acept 7. create the price list well 8. click again on the button and this modify the price of one of the products 9. click again on the button 10. the process modifies again the price of one of the products attached video | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0105580) hgbot (developer) 2018-07-04 15:23 |
Repository: erp/backports/3.0PR18Q2.1 Changeset: fceb997950391f3169102335ccb942832080aaa0 Author: Armaignac <collazoandy4 <at> gmail.com> Date: Mon Jun 25 15:28:36 2018 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR18Q2.1/rev/fceb997950391f3169102335ccb942832080aaa0 [^] Fixed issue 38879:The process "Create price list" increases the product price The process Create Price List was increasing the product price when the price list schema have two or more lines at product level. Now the price list schema lines defined at product level is take into account in the Create Price List process. A new JUnit test was added to properly check this behavior. A new preference was created to calculate the product price in a hierarchical way --- M src-db/database/model/functions/M_PRICELIST_CREATE.xml M src-db/database/sourcedata/AD_REF_LIST.xml M src-test/src/org/openbravo/test/pricelist/PriceListTest.java M src-test/src/org/openbravo/test/pricelist/data/PriceListTestConstants.java M src-test/src/org/openbravo/test/pricelist/data/PriceListTestData.java A src-test/src/org/openbravo/test/pricelist/data/PriceListTestData17.java --- |
(0105581) hgbot (developer) 2018-07-04 15:23 |
Repository: erp/backports/3.0PR18Q2.1 Changeset: d0cc6cddbf69f8cd3b11cd20a0dc47f66cc082ab Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Wed Jul 04 09:22:23 2018 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR18Q2.1/rev/d0cc6cddbf69f8cd3b11cd20a0dc47f66cc082ab [^] related to issue 38879 added modulescript with default value of preference added modulescript with default value of hierarchical price list preference depends on the openbravo version. --- A src-util/modulescript/build/classes/org/openbravo/modulescript/HierarchicalPriceListPreference.class A src-util/modulescript/build/classes/org/openbravo/modulescript/HierarchicalPriceListPreferenceData.class A src-util/modulescript/src/org/openbravo/modulescript/HierarchicalPriceListPreference.java A src-util/modulescript/src/org/openbravo/modulescript/HierarchicalPriceListPreference_data.xsql --- |
(0105588) Sandrahuguet (viewer) 2018-07-04 15:52 |
Code review + testing OK |
![]() |
|||
Date Modified | Username | Field | Change |
2018-07-03 10:29 | Sandrahuguet | Type | defect => backport |
2018-07-03 10:29 | Sandrahuguet | Target Version | => 3.0PR18Q2.1 |
2018-07-04 15:23 | hgbot | Checkin | |
2018-07-04 15:23 | hgbot | Note Added: 0105580 | |
2018-07-04 15:23 | hgbot | Status | scheduled => resolved |
2018-07-04 15:23 | hgbot | Resolution | open => fixed |
2018-07-04 15:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q2.1/rev/fceb997950391f3169102335ccb942832080aaa0 [^] |
2018-07-04 15:23 | hgbot | Checkin | |
2018-07-04 15:23 | hgbot | Note Added: 0105581 | |
2018-07-04 15:52 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2018-07-04 15:52 | Sandrahuguet | Note Added: 0105588 | |
2018-07-04 15:52 | Sandrahuguet | Status | resolved => closed |
2018-07-04 15:52 | Sandrahuguet | Fixed in Version | => 3.0PR18Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |