Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010874Openbravo ERP07. Sales managementpublic2009-10-06 10:352017-05-18 19:49
neil_smith 
Triage Omni OMS 
normalmajoralways
newopen 
5
main 
 
Core
No
0010874: When copying a document, allow to specify not to update the prices
When copying a document onto another document, the prices are re-actualized from the product's pricelist.
The problem is that in some cases, I would like those prices not to be reactualized.
For example when I create a proposal, it can happen that the prices are manually changed on the proposal (special price for a specific proposal for example).
When I create the sales order (standard order) from a proposal ('Copy from Order' button), I don't want the prices to be reactualized because I want the prices as specified on the proposal.
1. Create a proposal (Sales order with 'Proposal' document type)
2. Add a line with a product and change the price
3. Create an order (Sales order with 'Standard Order' document type) and use the 'Copy from Order' button to copy the lines of the proposal previously created
4. Have a look at the order lines, the prices are not the same as specified on the proposal.
Is it possible to add a checkbox or something to specify not to re-actualize the prices from the product's pricelist when copying documents?
No tags attached.
related to defect 00217843.0MP17 closed dmiguelez The process 'Copy from order' does not copy prices from the order (it takes them from price list) 
Issue History
2009-10-06 10:35neil_smithNew Issue
2009-10-06 10:35neil_smithAssigned To => rafaroda
2009-10-07 07:25rafarodaAssigned Torafaroda => pjuvara
2010-05-17 15:00neil_smithNote Added: 0027369
2011-02-04 09:11jpabloaeAssigned Topjuvara => rmorley
2017-05-18 10:16ngarciaIssue Monitored: ngarcia
2017-05-18 10:16ngarciaAssigned Tormorley => Triage Finance
2017-05-18 10:16ngarciaTriggers an Emergency Pack => No
2017-05-18 10:17ngarciaRelationship addedrelated to 0021784
2017-05-18 19:49letcharrenNote Added: 0096665

Notes
(0027369)
neil_smith   
2010-05-17 15:00   
I really needed this change, so I did some changes to core. I don't know if you are interested, but if you are, how can I send you these changes?
I changed :
1. openbravo/ad_actinButton/CopyFromPOOrder.html
   I added a checkbox 'Copy prices' that I can check if I want to copy the prices from the source document (not reactualize the prices from the product's pricelist)
2. openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql
   I added the retrieval of the prices from the source orderlines in the 'selectLines' method
3. openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
   I read the 'Copy prices' property, and if it is checked ('Y'), I use the prices that I found on the source orderline to update the prices. If the checkbox is not checked, it's the same as before.

Best regards
Neil.
(0096665)
letcharren   
2017-05-18 19:49   
Recall this feature request since another partner requests this functionality