partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.34k stars 394 forks source link

Feature Request: Comment field on 'Remove Stock' #312

Closed Avotronics closed 11 years ago

Avotronics commented 11 years ago

There is a comment field on add stock, but non on remove stock. It makes sense to make a note of where the stock item went!

If adding components to projects removed them from stock automatically, this would be better, as it would tie the stock item to the project and remove it from inventory, therefore no comment is necessary.

If the above isn't going to happen, then a comment field on remove stock is necessary to account for stock, otherwise the stock is 'missing' in effect.

Drachenkaetzchen commented 11 years ago

As mentioned in the forum, adding a part to a project does not remove the part from the stock. Adding a part to a project is the same as you would write down a part to a bill of materials; you don't remove the part from your stock.

There will be a way to create a basket of parts and remove all parts you require to build the project later.

The parts in the projects can be used for the project reports, which in turn can be used to find out if you have enough parts to build 1,2,etc copies of the project or if you need to order them.

Avotronics commented 11 years ago

I understand. I'm just thinking along the lines that, you won't always be projecting stuff, and quite often you will be stealing components for all sorts of things... I know I do.

So a comment field on 'remove stock' button would just allow for a few words to account for the part, i.e. Brother's Dehumidifier Repair, Ex Girlfriends Vibrator Repair, etc. :+1:

Avotronics commented 11 years ago

I really like the idea of the basket though... add all the parts you require, make sure they are in stock, order if not, then once you are certain you require all the parts, or after you have finished the project, then and only then, commit the basket to remove the stock from inventory.

I like it.

ghost commented 11 years ago

I would also like to request a comment field on the remove stock page. This feature would help me keep track of where parts ended up being used.

ghost commented 11 years ago

Since you are already able to add comments when you're adding stock, this shouldn't be too complicated. I've enabled the comment field in the Remove Part(s) dialogue. But when I add a comment when removing a part, the comment always shows up as 0, even when there is no comment. I'm editing PartService.php and partkeepr.js, is there anything else i should be looking at?

I can paste the changes I've made if anyone wants to look at it.

Boldie commented 11 years ago

Can you add it to a git repository on your side and sent me the link, I will have a look whats wrong.

Boldie commented 11 years ago

Duplicate of issue #282