Add ability to add/remove stock from item #14

Open
opened 2 years ago by jandrade · 9 comments
jandrade commented 2 years ago

Hi, just stubled on this project while looking for some simple inventory/stock management app.

I was wondering how doable would it be to implement ability to add/subtract item stock, with some description.

From what i can understand from trying this out, is that the only way to change stock is to edit the actual item, and then write some info in one of the 3 text fields, but this is not very intuitive (probably not meant for this purpose).

I am not a dev, but i dabble in bash and python, so i could help if you think that this is somewhat easy to implement.

Thanks

Hi, just stubled on this project while looking for some simple inventory/stock management app. I was wondering how doable would it be to implement ability to add/subtract item stock, with some description. From what i can understand from trying this out, is that the only way to change stock is to edit the actual item, and then write some info in one of the 3 text fields, but this is not very intuitive (probably not meant for this purpose). I am not a dev, but i dabble in bash and python, so i could help if you think that this is somewhat easy to implement. Thanks
Owner

There's already a "quantity" field, what is that missing?

There's already a "quantity" field, what is that missing?
skylarmt added the
enhancement
on hold
labels 2 years ago
Poster

A way to add/remove stock, instead of editing the quantity directly on the item. This would add the ability to manage assets AND stock.

Current

Add/remove stock:

  • Edit item
  • Increase/decrease quantity field by amount to add/remove
  • Write some information about it in either "Notes", "Comments" or "Description", like date and where did the stock came from/go.
  • Save

Proposed

  • Item has no editable quantity/has only starting quantity

Add/remove stock:

  • New buttons add/remove stock for items
  • Type amount and information, like where did the stock came from/go. (these entries could be timestamped)
  • Save
A way to add/remove stock, instead of editing the quantity directly on the item. This would add the ability to manage assets AND stock. ### Current #### Add/remove stock: - Edit item - Increase/decrease quantity field by amount to add/remove - Write some information about it in either "Notes", "Comments" or "Description", like date and where did the stock came from/go. - Save ### Proposed - Item has no editable quantity/has only starting quantity #### Add/remove stock: - New buttons add/remove stock for items - Type amount and information, like where did the stock came from/go. (these entries could be timestamped) - Save
Poster

WIP branch: https://source.netsyms.com/jandrade/BinStack/src/branch/stock_management

I apologize in advance for the butchered code.

WIP branch: https://source.netsyms.com/jandrade/BinStack/src/branch/stock_management I apologize in advance for the butchered code.
Owner

Looks pretty good! I'll take your copy/pasting of my code as praise for its quality ;)

A couple of suggestions:

  • Make the stock feature optional with a boolean in settings.php because some users (including me) are fine with simply the qty field.
  • Add the table to the EER diagram in database.mwb file using the free program MySQL Workbench, I use that program to develop the database graphically and generate the database.sql file automatically.

When I get some time (who knows when, I have a lot of stuff going on) I'll test your changes and if they don't break anything I'll merge them and create a new release (it's been a while since the last one, might as well use this as an excuse!).

Looks pretty good! I'll take your copy/pasting of my code as praise for its quality ;) A couple of suggestions: * Make the stock feature optional with a boolean in `settings.php` because some users (including me) are fine with simply the `qty` field. * Add the table to the EER diagram in `database.mwb` file using the free program MySQL Workbench, I use that program to develop the database graphically and generate the `database.sql` file automatically. When I get some time (who knows when, I have a lot of stuff going on) I'll test your changes and if they don't break anything I'll merge them and create a new release (it's been a while since the last one, might as well use this as an excuse!).
skylarmt removed the
on hold
label 2 years ago
Owner

If you think it's ready, create a pull request that mentions this issue (#14) to keep things organized.

If you think it's ready, create a pull request that mentions this issue (#14) to keep things organized.
Poster

Looks pretty good! I'll take your copy/pasting of my code as praise for its quality ;)

A couple of suggestions:

  • Make the stock feature optional with a boolean in settings.php because some users (including me) are fine with simply the qty field.
  • Add the table to the EER diagram in database.mwb file using the free program MySQL Workbench, I use that program to develop the database graphically and generate the database.sql file automatically.

When I get some time (who knows when, I have a lot of stuff going on) I'll test your changes and if they don't break anything I'll merge them and create a new release (it's been a while since the last one, might as well use this as an excuse!).

Thanks. Yea, as i said, im not a dev, but your code was easy for me to understand.

Alright, ill work on it.

Btw, is there any issue with the repo? Im getting auth failed when pushing no matter what i try, and it worked fine a couple of weeks ago. I also resetted the pw and i can login here just fine.

> Looks pretty good! I'll take your copy/pasting of my code as praise for its quality ;) > > A couple of suggestions: > * Make the stock feature optional with a boolean in `settings.php` because some users (including me) are fine with simply the `qty` field. > * Add the table to the EER diagram in `database.mwb` file using the free program MySQL Workbench, I use that program to develop the database graphically and generate the `database.sql` file automatically. > > When I get some time (who knows when, I have a lot of stuff going on) I'll test your changes and if they don't break anything I'll merge them and create a new release (it's been a while since the last one, might as well use this as an excuse!). Thanks. Yea, as i said, im not a dev, but your code was easy for me to understand. Alright, ill work on it. Btw, is there any issue with the repo? Im getting auth failed when pushing no matter what i try, and it worked fine a couple of weeks ago. I also resetted the pw and i can login here just fine.
Owner

is there any issue with the repo?

I'm able to push to my repos just fine, but I use SSH keys for authentication, so if you're not already doing that then try it. You can add public keys in your profile.

>is there any issue with the repo? I'm able to push to my repos just fine, but I use SSH keys for authentication, so if you're not already doing that then try it. You can add public keys in your profile.
Poster

Right, unfortunately i dont have access to your repo via ssh because its on a non standard port. Can you check if the http auth is working fine when you have time?

Right, unfortunately i dont have access to your repo via ssh because its on a non standard port. Can you check if the http auth is working fine when you have time?
Owner

If you're on a network that's that restrictive, I suggest you use a VPN.

I've updated the Gitea server to the latest point release. If there's still an issue with HTTP auth, that's a bug with Gitea. See if you can reproduce it on their public test server: https://try.gitea.io

If you're on a network that's that restrictive, I suggest you use a VPN. I've updated the Gitea server to the latest point release. If there's still an issue with HTTP auth, that's a bug with Gitea. See if you can reproduce it on their public test server: https://try.gitea.io
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.