Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031115 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2015-10-08 18:47 | 2015-11-28 15:24 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | dmiguelez | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | aa0a5c2e4f93 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | vmromanos | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 36532 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031115: Ordered Quantity can be modified in delivered but not invoiced sales order line if the price is also changed | |||||||
Description | Ordered Quantity can be modified in delivered but not invoiced sales order line if the price is also changed | |||||||
Steps To Reproduce | As group admin role: Create a Sales Order for a product that has stock and book it Create a Goods Shipment from it Reactivate the Sales Order, decrease the quantity ordered and try to save the line. The following error message is shown: "Saving failed. Cannot modify an order line that has deliveries or invoices" Change the Net Unit Price Too and check you are able to save it | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0080906) ngarcia (viewer) 2015-10-08 18:50 |
Please, check when solving this issue if the error message should be shown when the product is configured as Is Quantity Variable |
(0082302) dmiguelez (viewer) 2015-11-24 17:18 |
As group admin role: Create a Sales Order for a product that has stock and book it Create a Goods Shipment from it Reactivate the Sales Order, decrease the quantity ordered and try to save the line. The following error message is shown: "Saving failed. Cannot modify an order line that has deliveries or invoices" Change the only Net Unit Price and check you are able to save it Change both the quantity and the Net Unit Price and realize that the error message is shown. |
(0082430) hgbot (developer) 2015-11-27 13:58 |
Repository: erp/devel/pi Changeset: aa0a5c2e4f93dffc83bb8ae0c3e3f10f70ba0fd5 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Tue Nov 24 16:53:42 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/aa0a5c2e4f93dffc83bb8ae0c3e3f10f70ba0fd5 [^] Fixes Issue 31115. Allow to change price of a non Invoiced Sales Order. Previously it was fixed, but when it was done, it was allowing to change the Sales Order Quantity when the Sales Invoice had a Goods Shipment related and that is not right. Changed the restriction to check changes related to prices in another condition and allow to do this changes when the Sales Order is not yet Invoiced, even if it has been delivered. --- M src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml --- |
(0082431) vmromanos (viewer) 2015-11-27 13:58 |
Code review + testing OK |
(0082451) hudsonbot (viewer) 2015-11-28 15:24 |
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/a30fd74371da [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2015-10-08 18:47 | ngarcia | New Issue | |
2015-10-08 18:47 | ngarcia | Assigned To | => Triage Finance |
2015-10-08 18:47 | ngarcia | OBNetwork customer | => Yes |
2015-10-08 18:47 | ngarcia | Modules | => Core |
2015-10-08 18:47 | ngarcia | Support ticket | => 36532 |
2015-10-08 18:47 | ngarcia | Resolution time | => 1447801200 |
2015-10-08 18:47 | ngarcia | Triggers an Emergency Pack | => No |
2015-10-08 18:48 | ngarcia | Relationship added | caused by 0012091 |
2015-10-08 18:50 | ngarcia | Note Added: 0080906 | |
2015-10-08 18:57 | heccam | Issue Monitored: heccam | |
2015-11-24 17:18 | dmiguelez | Note Added: 0082302 | |
2015-11-25 11:51 | dmiguelez | Status | new => scheduled |
2015-11-27 09:58 | vmromanos | Assigned To | Triage Finance => dmiguelez |
2015-11-27 13:58 | hgbot | Checkin | |
2015-11-27 13:58 | hgbot | Note Added: 0082430 | |
2015-11-27 13:58 | hgbot | Status | scheduled => resolved |
2015-11-27 13:58 | hgbot | Resolution | open => fixed |
2015-11-27 13:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/aa0a5c2e4f93dffc83bb8ae0c3e3f10f70ba0fd5 [^] |
2015-11-27 13:58 | vmromanos | Review Assigned To | => vmromanos |
2015-11-27 13:58 | vmromanos | Note Added: 0082431 | |
2015-11-27 13:58 | vmromanos | Status | resolved => closed |
2015-11-28 15:24 | hudsonbot | Checkin | |
2015-11-28 15:24 | hudsonbot | Note Added: 0082451 |
Copyright © 2000 - 2009 MantisBT Group |