two users can complete same M_InOut and data is corrupted

Description

noted in adempiere and tested and found same in idempiere... but others could test again to confirm.

A user with two browser sessions each pointing to the same Material Receipt can 'Complete' the document in each session. The system will create two Material Transactions instead of one, update the qty delivered on the PO line twice and corrupt Storage Details creating a very-hard-to-fix mess.

regards..

Environment

None

Activity

Show:
Hiep Lq
February 7, 2014, 3:14 AM

When complete a new invoice. I always encounter message "document status have been change by other se....."
i only encounter with demo.idempiere. not encounter in client
because i think it can relate this ticket.
please help me recheck.

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.63 Chrome/31.0.1650.63 Safari/537.36

Hiep Lq
February 7, 2014, 6:39 AM

I update pack of 1732 to local and encounter same issue. reason of error seem is by workflow change state to IP.

Heng Sin Low
February 7, 2014, 2:27 PM

Patch for the can't complete invoice issue.

Heng Sin Low
February 7, 2014, 2:27 PM

Please review the new patch, thanks.

Assignee

Heng Sin Low

Reporter

Steven-Adaxa

Labels

Tested By

None

Components

Priority

Major
Configure