Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012711Openbravo ERP04. Warehouse managementpublic2010-03-17 17:392010-05-25 09:59
adrianromero 
adrianromero 
highminoralways
closedfixed 
5
2.40MP12 
2.40MP13 
Core
No
0012711: Phisical Inventory processed twice
Navigating back with the browser (instead of with the application button) you are able to process an inventory two times.
1. Warehouse Management || Transactions || Physical Inventory || Header : create new record
2. Warehouse Management || Transactions || Physical Inventory || Header >> Lines : add one line
3. Back to header and process inventory
4. Press "Go back" button of Firefox
5. Try to process the inventory again. You will obtain an error.
6. Try to process the inventory again. You will be able to process it and you can check that a second line has been inserted in m_transaction
No tags attached.
blocks defect 00127052.40MP13 closed adrianromero Phisical Inventory processed twice 
Issue History
2010-03-17 17:39adrianromeroNew Issue
2010-03-17 17:39adrianromeroAssigned To => adrianromero
2010-03-17 17:39adrianromeroIssue generated from0012705
2010-03-17 17:39adrianromeroRelationship addedblocks 0012705
2010-03-17 17:40adrianromeroStatusnew => scheduled
2010-03-17 17:40adrianromeroTarget Version => 2.40MP13
2010-05-17 17:15hgbotCheckin
2010-05-17 17:15hgbotNote Added: 0027376
2010-05-17 17:15hgbotStatusscheduled => resolved
2010-05-17 17:15hgbotResolutionopen => fixed
2010-05-17 17:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/a35130bd2429e594ed3fb23e56693e3723f49b17 [^]
2010-05-17 17:17adrianromeroNote Added: 0027377
2010-05-25 09:59arunkumarNote Added: 0027706
2010-05-25 09:59arunkumarStatusresolved => closed

Notes
(0027376)
hgbot   
2010-05-17 17:15   
Repository: erp/stable/2.40
Changeset: a35130bd2429e594ed3fb23e56693e3723f49b17
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon May 17 17:15:12 2010 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/a35130bd2429e594ed3fb23e56693e3723f49b17 [^]

Fixes issue 0012711: Phisical Inventory processed twice
It has been modified the M_INVENTORY trigger to avoid to set as unprocessed a physycal inventory record that has already been processed. This avoids to process the same record twice

---
M src-db/database/model/triggers/M_INVENTORY_TRG.xml
---
(0027377)
adrianromero   
2010-05-17 17:17   
* Steps to test
Just follow the steps to test and notice that a physical inventory cannot be processed twice.

* Other areas affected by the changeset
Only it is affected the Physical Inventory window. No other areas affected.
(0027706)
arunkumar   
2010-05-25 09:59   
Tested working fine