Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026631Openbravo ERPA. Platformpublic2014-05-20 12:072014-06-16 12:01
aaroncalero 
aaroncalero 
normaltrivialhave not tried
closedfixed 
5
pi 
3.0PR14Q3 
rafademiguel
Core
No
0026631: It would be nice to add a new option to create price lists based on a fixed price and a cost plus a margin
It would be nice to add a new option to create price lists based on a fixed price and a cost plus a margin.
When creating a price list version of a price list checked as "based on cost", product prices in the new version would be created as follows:
*If the fixed price set in the price list schema is higher than the cost, the price list will be created with the fixed price
*If the fixed price is lower than the cost, then price list will be created using the cost plus the margin.
It would be nice to add a new option to create price lists based on a fixed price and a cost plus a margin.
Add the new option to the base list/unit price dropdown lists in price list schema lines and change the price list creation process accordingly
No tags attached.
Issue History
2014-05-20 12:07aaroncaleroNew Issue
2014-05-20 12:07aaroncaleroAssigned To => aaroncalero
2014-05-20 12:07aaroncaleroModules => Core
2014-05-20 12:07aaroncaleroTriggers an Emergency Pack => No
2014-05-29 10:54hgbotCheckin
2014-05-29 10:54hgbotNote Added: 0067563
2014-05-29 10:54hgbotStatusnew => resolved
2014-05-29 10:54hgbotResolutionopen => fixed
2014-05-29 10:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4eea5c0c8248ebbd33f58b727a9b2c62c79c5922 [^]
2014-05-29 23:05hudsonbotCheckin
2014-05-29 23:05hudsonbotNote Added: 0067587
2014-06-13 17:26dmitry_mezentsevNote Added: 0068010
2014-06-16 12:01rafademiguelReview Assigned To => rafademiguel
2014-06-16 12:01rafademiguelStatusresolved => closed

Notes
(0067563)
hgbot   
2014-05-29 10:54   
Repository: erp/devel/pi
Changeset: 4eea5c0c8248ebbd33f58b727a9b2c62c79c5922
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Wed May 28 09:20:58 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4eea5c0c8248ebbd33f58b727a9b2c62c79c5922 [^]

Fixed issue 0026631: Create price lists based on a fixed price and cost plus a margin

---
M src-db/database/model/functions/M_PRICELIST_CREATE.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
---
(0067587)
hudsonbot   
2014-05-29 23:05   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/bd7f8b6f935a [^]
Maturity status: Test
(0068010)
dmitry_mezentsev   
2014-06-13 17:26   
The FR is not Closed for more than 7 days! Now 15 actually!!

Please make sure that the processes are followed to do it.
Thanks.