Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010874
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 07. Sales managementmajoralways2009-10-06 10:352017-05-18 19:49
Reporterneil_smithView Statuspublic 
Assigned ToTriage Omni OMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010874: When copying a document, allow to specify not to update the prices

DescriptionWhen 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.
Steps To Reproduce1. 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.
Proposed SolutionIs it possible to add a checkbox or something to specify not to re-actualize the prices from the product's pricelist when copying documents?
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00217843.0MP17 closeddmiguelez The process 'Copy from order' does not copy prices from the order (it takes them from price list) 

-  Notes
(0027369)
neil_smith (reporter)
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 (developer)
2017-05-18 19:49

Recall this feature request since another partner requests this functionality

- Issue History
Date Modified Username Field Change
2009-10-06 10:35 neil_smith New Issue
2009-10-06 10:35 neil_smith Assigned To => rafaroda
2009-10-07 07:25 rafaroda Assigned To rafaroda => pjuvara
2010-05-17 15:00 neil_smith Note Added: 0027369
2011-02-04 09:11 jpabloae Assigned To pjuvara => rmorley
2017-05-18 10:16 ngarcia Issue Monitored: ngarcia
2017-05-18 10:16 ngarcia Assigned To rmorley => Triage Finance
2017-05-18 10:16 ngarcia Triggers an Emergency Pack => No
2017-05-18 10:17 ngarcia Relationship added related to 0021784
2017-05-18 19:49 letcharren Note Added: 0096665


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker