Notes |
|
|
I attach a patch proposal.
Please notice that:
1) This patch is based on Openbravo ERP 2.50 MP8 but fix for issue 0012465 has been included.
2) This patch modifies current Copy Invoice Lines behavior. It would be interesting to extend this patch in order to preserve the old functionality (copy the lines exactly as they are) and add the new one (re-calculate prices and offers). |
|
|
(0025132)
|
psarobe
|
2010-03-08 15:50
(edited on: 2010-03-08 15:51) |
|
This is not an issue but a feature request. The button is working how it is designed for
|
|
|
(0027803)
|
hgbot
|
2010-05-28 08:12
|
|
Repository: erp/devel/pi
Changeset: 07a95c580a6230cfcecc22f98d539d5fa161473e
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 28 11:19:37 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/07a95c580a6230cfcecc22f98d539d5fa161473e [^]
Fixes issue 12587: wrong price in process \"copy lines\" of invoice
---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql
---
|
|
|
|
Steps to reproduce:
*Create a purchase invoice with business partner mafalda.Select the product as Hat.
*Complete the sales order.
*Goto Price List in the masterdata management and change the product price of hat for Mafalda sales.
*Create a new sales invoice header with mafalda and then click on"Copy Lines".
*If "Select Price from price List = N" then the prices are taken from the invoice that are copying.If this check box is selected then prices are taken from the price list.
Root Cause:
*Before is always copied from the previous invoice alone.Now according to the condition the price are taken.
Impact:
The impact can be seen in the purchase invoice also.Because the same copy line button is used for both the invoice.
*Since i have checked the condition their is no impact of the previous functionality. |
|
|
|
With this modification the copy lines process always give the message "Error: Process failed during execution. |
|
|
(0027833)
|
hgbot
|
2010-05-31 13:50
|
|
Repository: erp/devel/pi
Changeset: 2c0b028e737224a381182b3cb835ec9c531b9ca6
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon May 31 17:15:48 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2c0b028e737224a381182b3cb835ec9c531b9ca6 [^]
Fixes issue 12587 while clicking copy lines their error processing failed.This is because in pgsql the amount is inserted as string.Now this is fixed.
---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql
---
|
|
|
|
|
|
|
|
|
|
verified its working fine |
|