Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021390Openbravo ERP07. Sales managementpublic2012-08-20 12:182012-09-01 01:02
jecharri 
naiaramartinez 
highminoralways
closedfixed 
5
pi 
 
dmiguelez
Google Chrome
Core
No
0021390: Impossible to reactivate an sales order
Impossible to reactivate an sales order
Go to sales order and create one header and line.
Put as "Transaction Document" --> "Warehouse Order"
Delete discount line in "Discount" tab

Complete it.

Go to generated "Goods shipment" and void it.

Reactivate the order and change the product and complete it again.

Go to generated "Goods shipment" and void it.

Try to reactivate the order, you will see next error:
The change of the product is not allowed because there is a related order and the change of the product would create a mismach in the relation.
No tags attached.
Issue History
2012-08-20 12:18jecharriNew Issue
2012-08-20 12:18jecharriAssigned To => mirurita
2012-08-20 12:18jecharriWeb browser => Google Chrome
2012-08-20 12:18jecharriModules => Core
2012-08-23 15:08naiaramartinezAssigned Tomirurita => naiaramartinez
2012-08-23 15:11naiaramartinezStatusnew => scheduled
2012-08-23 15:11naiaramartinezfix_in_branch => pi
2012-08-24 09:05naiaramartinezNote Added: 0051523
2012-08-28 14:40hgbotCheckin
2012-08-28 14:40hgbotNote Added: 0051603
2012-08-28 14:40hgbotStatusscheduled => resolved
2012-08-28 14:40hgbotResolutionopen => fixed
2012-08-28 14:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2fa2537a618fe3303e892af4a974fc10af2401a6 [^]
2012-08-28 14:42dmiguelezClosed by => dmiguelez
2012-08-28 14:42dmiguelezNote Added: 0051604
2012-08-28 14:42dmiguelezStatusresolved => closed
2012-08-29 09:52hgbotCheckin
2012-08-29 09:52hgbotNote Added: 0051614
2012-09-01 01:02hudsonbotCheckin
2012-09-01 01:02hudsonbotNote Added: 0051720
2012-09-01 01:02hudsonbotCheckin
2012-09-01 01:02hudsonbotNote Added: 0051728

Notes
(0051523)
naiaramartinez   
2012-08-24 09:05   
Go to sales order and create one header and line.
Put as "Transaction Document" --> "Warehouse Order"
Delete discount line in "Discount" tab

Complete it.

Go to generated "Goods shipment" and void it.

Reactivate the order and change the product and complete it again.

Go to generated "Goods shipment" and void it.

Try to reactivate the order.Notice that now you are able to reactivate the order.
(0051603)
hgbot   
2012-08-28 14:40   
Repository: erp/devel/pi
Changeset: 2fa2537a618fe3303e892af4a974fc10af2401a6
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Thu Aug 23 15:11:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2fa2537a618fe3303e892af4a974fc10af2401a6 [^]

fixed bug 21390 Impossible to reactivate an sales order

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0051604)
dmiguelez   
2012-08-28 14:42   
Code Review + Testing OK
(0051614)
hgbot   
2012-08-29 09:52   
Repository: erp/devel/pi
Changeset: e7005c8d49f3772495b0cd1b4831574771f7a404
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Aug 29 09:51:31 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e7005c8d49f3772495b0cd1b4831574771f7a404 [^]

Related to Issue 21390: Fixes length of variable.

---
M src-db/database/model/triggers/M_INOUTLINE_TRG.xml
---
(0051720)
hudsonbot   
2012-09-01 01:02   
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/05b3ea484705 [^]

Maturity status: Test
(0051728)
hudsonbot   
2012-09-01 01:02   
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/05b3ea484705 [^]

Maturity status: Test