Add ability to add/remove stock from item #14
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
There's already a "quantity" field, what is that missing?
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:
Proposed
Add/remove stock:
WIP branch: https://source.netsyms.com/jandrade/BinStack/src/branch/stock_management
I apologize in advance for the butchered code.
Looks pretty good! I'll take your copy/pasting of my code as praise for its quality ;)
A couple of suggestions:
settings.php
because some users (including me) are fine with simply theqty
field.database.mwb
file using the free program MySQL Workbench, I use that program to develop the database graphically and generate thedatabase.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!).
If you think it's ready, create a pull request that mentions this issue (#14) to keep things organized.
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.
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.
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?
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