Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0001981Openbravo ERP07. Sales managementpublic2007-09-19 18:302008-12-14 21:02
plujan 
gorkaion 
normalminoralways
closedfixed 
5
 
2.40pi 
No
Core
No
0001981: It is possible to unprocess an Order with a Shipment
Description:
It is possible to unprocess an Order with a related Receipt, and modify the Order lines.

Enviroment:
 DB: Oracle XE
 Openbravo: 2.33
 Language: English
 OS: Windows XP SP2
 Browser: IE7 / FF2

Steps:
1. Go Procurement > Transactions > Purchase Order
2. Create a new Order
3. Add a line
4. Complete the Order
5. Go Goods Receipt
6. Create a new Receipt
7. Copy lines from the created Order. Note that the Order field now has the Order number.
8. Go back to Purchase Order
9. Unprocess the order
10. Change the product of the line.
11. Process again.
12. Now I have a Receipt related to an Order, but their lines are different.
No tags attached.
Issue History
2008-06-12 11:06gorkaionStatusnew => scheduled
2008-06-13 19:59cromeroTarget Version => 2.40
2008-06-17 11:55svnbotCheckin
2008-06-17 11:55svnbotNote Added: 0007774
2008-06-17 11:55svnbotStatusscheduled => resolved
2008-06-17 11:55svnbotResolutionopen => fixed
2008-06-17 11:55svnbotsvn_revision => 5089
2008-12-14 21:02psarobeRegression testing => No
2008-12-14 21:02psarobeStatusresolved => closed

Notes
(0005570)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1798160 [^]
(0007774)
svnbot   
2008-06-17 11:55   
Repository: openbravo
Revision: 5089
Author: gorkaion
Date: 2008-06-17 11:55:38 +0200 (Tue, 17 Jun 2008)

Fixed bug 1981. Changed the trigger of order lines, now if it is a purchase order line it is not possible to change the product if it has a related good receipt line.

---
U trunk/src-db/database/model/triggers/C_ORDERLINE_TRG.xml
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=5089&sc=1 [^]