Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027572Openbravo ERP03. Procurement managementpublic2014-09-10 12:522015-03-20 11:20
VictorVillar 
fsoto82 
highminoralways
closedfixed 
5
pi 
3.0PR15Q1 
pramakrishnan
Core
No
0027572: It should not be possible to reactivate a Purchase Order with a Goods Receipt related
It should not be possible to reactivate a Purchase Order with a Goods Receipt related
As group admin role,
Go to Purchase Order window,
  Create one with one line.
 Complete it

Go to Goods receipt window,
  create one for the same business partner as before, and 'Create Lines from' the previous Order.
Complete it.

Navigate again to the Purchase Order window,
 and reactivate the Purchase Order.

You can do it, but you should not.
No tags attached.
Issue History
2014-09-10 12:52VictorVillarNew Issue
2014-09-10 12:52VictorVillarAssigned To => dmiguelez
2014-09-10 12:52VictorVillarModules => Core
2014-09-10 12:52VictorVillarResolution time => 1416783600
2014-09-10 12:52VictorVillarTriggers an Emergency Pack => No
2014-09-10 12:52VictorVillarIssue Monitored: networkb
2014-09-22 16:36jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-12 18:12fsoto82Statusnew => scheduled
2014-10-12 18:12fsoto82Assigned Todmiguelez => fsoto82
2014-10-12 18:12fsoto82fix_in_branch => pi
2014-10-12 18:15fsoto82Note Added: 0070891
2014-11-11 09:51hgbotCheckin
2014-11-11 09:51hgbotNote Added: 0071543
2014-11-11 09:51hgbotStatusscheduled => resolved
2014-11-11 09:51hgbotResolutionopen => fixed
2014-11-11 09:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9ae96f2b5bc93c7ce7aa1ad0e90c9b3831a477cf [^]
2014-11-11 09:53pramakrishnanReview Assigned To => pramakrishnan
2014-11-11 09:53pramakrishnanNote Added: 0071544
2014-11-11 09:53pramakrishnanStatusresolved => closed
2014-11-12 10:05SandrahuguetStatusclosed => new
2014-11-12 10:05SandrahuguetResolutionfixed => open
2014-11-12 10:13psanjuanNote Added: 0071588
2014-11-12 10:14hgbotCheckin
2014-11-12 10:14hgbotNote Added: 0071589
2014-11-12 10:14hgbotStatusnew => resolved
2014-11-12 10:14hgbotResolutionopen => fixed
2014-11-12 10:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/9ae96f2b5bc93c7ce7aa1ad0e90c9b3831a477cf [^] => http://code.openbravo.com/erp/devel/pi/rev/56e8074546b0704eb7beb5885aafb2a98988a7f8 [^]
2014-11-12 11:01pramakrishnanStatusresolved => closed
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073038
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073048
2015-03-20 11:20eugeniIssue Monitored: eugeni

Notes
(0070891)
fsoto82   
2014-10-12 18:15   
As group admin role,
Go to Purchase Order window,
  Create one with one line.
 Complete it

Go to Goods receipt window,
  create one for the same business partner as before, and 'Create Lines from' the previous Order.
Complete it.

Navigate again to the Purchase Order window,
 and try to reactivate the Purchase Order.

A error message is displayed.
(0071543)
hgbot   
2014-11-11 09:51   
Repository: erp/devel/pi
Changeset: 9ae96f2b5bc93c7ce7aa1ad0e90c9b3831a477cf
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Tue Oct 28 15:10:32 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/9ae96f2b5bc93c7ce7aa1ad0e90c9b3831a477cf [^]

Fixed bug 27572: Reactivate a Purchase Order with a Goods Receipt related

Changed C_ORDER_POST1 stored procedure to check when reactivating a Purchase Order don't have Goods Receipt/Shipment related
Added OrderReactivateHasGoodsReceipt and OrderReactivateHasGoodsShipment message for the error.

---
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0071544)
pramakrishnan   
2014-11-11 09:53   
Code Review + Testing - OK.
(0071588)
psanjuan   
2014-11-12 10:13   
The fix of the issue needs to be reverted as it should be possible to reactivate an order to change for instance the price or the units included in the order, regardless there could have a good receipt(s) linked to it.

Please report specific issues to resolve.
(0071589)
hgbot   
2014-11-12 10:14   
Repository: erp/devel/pi
Changeset: 56e8074546b0704eb7beb5885aafb2a98988a7f8
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Nov 12 10:14:06 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/56e8074546b0704eb7beb5885aafb2a98988a7f8 [^]

Fixed issue 27572 backout changeset 25193

the issue is wrong explained and the solution is not correct

---
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0073038)
hudsonbot   
2014-12-30 23: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/6525fe229e06 [^]
Maturity status: Test
(0073048)
hudsonbot   
2014-12-30 23: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/6525fe229e06 [^]
Maturity status: Test