sukhvir007 / tracmor

Automatically exported from code.google.com/p/tracmor
GNU General Public License v2.0
0 stars 0 forks source link

Able to schedule an asset for two different receipts at the same time #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Schedule an asset for receipt automatically through a shipping return
2. Then create an asset and add that same asset to the receipt
3.

What is the expected output? What do you see instead?
There should be an error stating that this asset has already been scheduled
for receipt. I have not confirmed that these steps will reproduce the
error, but it sounds like this is what happened from what Todd told me on
6/14. If this doesn't do it, try it the other way around (create a receipt
first, then add as a return)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hunterje...@gmail.com on 14 Jun 2007 at 6:18

GoogleCodeExporter commented 8 years ago
Justin has pointed out that it might be created in this manner:

Say you have an asset scheduled to be received.  If you open that asset record 
and
click the "Receive" button, rather than opening the existing scheduled receipt, 
you
will be taken to the page to schedule a new receipt for that asset.  This can 
result
in multiple receipts scheduled for the same asset, which is bad.  I had to go 
into
their db and manually fix this for Todd.

I am pretty sure the same problem exists for shipments as well.

Original comment by hunterje...@gmail.com on 2 Jul 2007 at 10:37

GoogleCodeExporter commented 8 years ago
We were able to duplicate by creating a new receipt, add an asset, then save. 
Then
create a new receipt, add the same asset, and save. This was a plain ole' 
fashion bug
in the code and it was fixed.

Original comment by hunterje...@gmail.com on 27 Aug 2007 at 11:32