Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019755Openbravo ERP07. Sales managementpublic2012-02-14 11:512012-04-02 06:10
ioritzCia 
ioritzCia 
normalmajoralways
closedfixed 
20Ubuntu 10.04
 
3.0MP10 
Mozilla Firefox
Core
No
0019755: A Return Material Receipt document cannot be voided.
You cannot create a Return Material Receipt with positive amounts. This makes not possible to void Return Material Receipt.
- Create a Return from Customer and book it.
- Create a Return Material Receipt and complete it.
- Try to void the Return Material Receipt.
- It fails: Return Receipts/Shipments do not allow lines with positive quantities.
No tags attached.
Issue History
2012-02-14 11:51ioritzCiaNew Issue
2012-02-14 11:51ioritzCiaAssigned To => jonalegriaesarte
2012-02-14 11:51ioritzCiaWeb browser => Mozilla Firefox
2012-02-14 11:51ioritzCiaModules => Core
2012-02-14 11:52ioritzCiaNote Added: 0045091
2012-02-14 11:53ioritzCiaIssue Monitored: networkb
2012-02-14 11:55ioritzCiaWeb browserMozilla Firefox => Mozilla Firefox
2012-02-14 11:55ioritzCiaResolution time => 1332284400
2012-02-14 12:20hgbotCheckin
2012-02-14 12:20hgbotNote Added: 0045092
2012-02-14 12:20hgbotCheckin
2012-02-14 12:20hgbotNote Added: 0045093
2012-02-14 12:24gorkaionNote Added: 0045094
2012-02-14 14:15hgbotCheckin
2012-02-14 14:15hgbotNote Added: 0045108
2012-02-29 11:42jonalegriaesarteWeb browserMozilla Firefox => Mozilla Firefox
2012-02-29 11:42jonalegriaesarteNote Added: 0045577
2012-02-29 11:42jonalegriaesarteTarget Version3.0MP9 => 3.0MP10
2012-03-02 15:36hudsonbotCheckin
2012-03-02 15:36hudsonbotNote Added: 0045841
2012-03-02 15:36hudsonbotCheckin
2012-03-02 15:36hudsonbotNote Added: 0045842
2012-03-02 15:37hudsonbotCheckin
2012-03-02 15:37hudsonbotNote Added: 0045847
2012-03-06 17:54jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-03-20 09:35hgbotCheckin
2012-03-20 09:35hgbotNote Added: 0046526
2012-03-20 09:35hgbotStatusnew => resolved
2012-03-20 09:35hgbotResolutionopen => fixed
2012-03-20 09:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/85a9b7d0fc10e4459c57921cd8e603b4e8cd782f [^]
2012-03-29 15:26xabiermerinoNote Added: 0046888
2012-03-29 15:26xabiermerinoStatusresolved => closed
2012-04-02 06:10hudsonbotCheckin
2012-04-02 06:10hudsonbotNote Added: 0047163

Notes
(0045091)
ioritzCia   
2012-02-14 11:52   
Whoever is going to fix this bug must talk with Gorka Ion. He will make a partial commit of the solution.
(0045092)
hgbot   
2012-02-14 12:20   
Repository: erp/devel/pi
Changeset: 6f6f0534dd255d71e53650f7ce21ee1221458d81
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Feb 01 12:25:16 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6f6f0534dd255d71e53650f7ce21ee1221458d81 [^]

Related to issue 19755.Added new canceled_inoutline_id column to relate voided inouts.

---
M src-db/database/model/tables/M_INOUTLINE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
---
(0045093)
hgbot   
2012-02-14 12:20   
Repository: erp/devel/pi
Changeset: f663c413f0b02d922b94a34e61918e228f144cae
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Feb 01 12:25:42 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f663c413f0b02d922b94a34e61918e228f144cae [^]

Related to issue 19755.Relate canceled inoutlines with originals.

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0045094)
gorkaion   
2012-02-14 12:24   
Added commits that add a relationship on the lines of the generated void shipment to the original lines that are being canceled.

The fix of this issue should check this new column to determine if it is a void shipment or a regular shipment. Based on this check the quantities must be positives or negatives.

If lines have the canceled_inoutline_id not null it is a void inout and in case it is a return inout quantities must be positive.
If lines have the canceled_inoutline_id null it is a regular inout and in case it is a return inout quantities must be negative.
(0045108)
hgbot   
2012-02-14 14:15   
Repository: erp/devel/pi
Changeset: f4324ff133a7be7a05daa4ec28ed5c1cfa7b196a
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Feb 14 14:13:35 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f4324ff133a7be7a05daa4ec28ed5c1cfa7b196a [^]

Related to issue 19755.Add missing column property.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0045577)
jonalegriaesarte   
2012-02-29 11:42   
Moved to MP10
(0045841)
hudsonbot   
2012-03-02 15:36   
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/544d64e0c159 [^]

Maturity status: Test
(0045842)
hudsonbot   
2012-03-02 15:36   
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/544d64e0c159 [^]

Maturity status: Test
(0045847)
hudsonbot   
2012-03-02 15:37   
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/544d64e0c159 [^]

Maturity status: Test
(0046526)
hgbot   
2012-03-20 09:35   
Repository: erp/devel/pi
Changeset: 85a9b7d0fc10e4459c57921cd8e603b4e8cd782f
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Mar 16 15:13:57 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/85a9b7d0fc10e4459c57921cd8e603b4e8cd782f [^]

Fixes issue 19755: A Return Material Receipt document cannot be voided.

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0046888)
xabiermerino   
2012-03-29 15:26   
verified
(0047163)
hudsonbot   
2012-04-02 06:10   
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/7814864461ac [^]

Maturity status: Test