paris3200 / flask-inventory Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I'd like to rename the 'project' folder to 'app' and also have all the templates in the template folder, instead of inventory and main having their own template folders.
What do you feel about this? I think it would be more organized. Because right now even main folder doesn't have its own templates, they are in the actual templates folder.
Let me know, I want to make this change and then do pull-request.
The purchase order view isn't showing components. Most likely due to the database being changed.
it seems to have loaded in the browser properly but am trying to use the admin credentials given in the readme but they dont seem to work.
I'd like to get some input from you on what you've got planned. I stopped work on flask-inventory a year ago, but if you're interested in it I would love to pick it back up again. I want to be sure that we're on the same page as to what needs to be done and that we're working towards the same goals.
Thanks,
Jason Paris
Update the transaction and purchase_order models to include a field for tracking users.
Allow multiple line items to be added to the purchase order.
The purchase order view is not displaying the total. All test are passing, therefore tests need to written to catch the error in addition to fixing the issue.
I believe we need to upgrade the logic for purchase orders. The purchase order SKU needs to be the SKU that the vendor uses not necessarily the SKU in the app. It is possible that a single component can be sourced from different vendors all using different SKUs.
I believe the solution is to separate the ordered items from the components by placing them into a separate database table and tieing them to a vendor. It might look something like:
Any thoughts?
Testing is needed for the manage tags view.
@cisko3000
Would you mind writing a test fo this?
PS: I had a chance to take a look at the API. That is going to be very handy.
Hi,
when I am trying to run the setup.h i am receiving the following error message:
Debugged import:
Original exception:
ImportStringError: import_string() failed for '"project'. Possible reasons are:
Debugged import:
hi can you let us know what is your condition on reusing this?
There's this url_for() function in static file 'main.js', it causes invalid syntax JavaScript error in console.
// custom javascript
$(document).ready(function() {
$.ajax({
url: '{{ url_for("vendor.search") }}'
}).done(function (data) {
$('input').autocomplete({
source: data,
minLength: 2
});
});
}
Possible solution is declaring SCRIPT_ROOT variable in base template
<script>$SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; </script>
Then one can use $SCRIPT_ROOT in static js files to know the root URL and hard-code rest of route.
This is what I always do in my projects.
Any other suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.