eeintech
5c6939429a
Improved handling of stock location owner
2020-12-02 17:19:41 -05:00
eeintech
1a7a460ba8
Hidden owner field when ownership control is disabled
2020-12-02 14:05:45 -05:00
eeintech
de1dfdcc38
Improved naming of new setting and variables
2020-12-02 13:38:53 -05:00
eeintech
2bdd1305ed
Fix style
2020-12-02 13:26:26 -05:00
eeintech
c66ac2579e
Updated StockItem create/edit view with ownership control
2020-12-02 13:25:33 -05:00
eeintech
2d7461f609
Updated StockLocation create/edit view with ownership control
2020-12-02 12:05:00 -05:00
eeintech
c9b3c16c6f
Added help text on owner fields
2020-12-01 17:46:11 -05:00
eeintech
8dac6bb982
Updated template stock item logic and added to stock locations
2020-12-01 17:41:03 -05:00
eeintech
4104e7df8e
Fixed template logic
2020-12-01 16:08:27 -05:00
eeintech
2c38be2d13
Added global setting and updated stock item templates
2020-12-01 15:54:05 -05:00
eeintech
e1fb7e5d98
Added owner field to both stock item and location tables and forms
2020-12-01 13:45:01 -05:00
Bjoern Biesenbach
95f62d529f
Fix sidenav in stocklist
2020-11-30 18:30:51 +01:00
Oliver Walters
6144d7e209
Fix for StockItem creation form
...
- purchase_price field was required (should not be!)
- Fixed some validation issues
- Cleaned up form implementation
2020-11-17 15:29:44 +11:00
Oliver Walters
ae7fbd6112
Add PEP8-naming extension for flake
...
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters
391eeb0e46
Specify default currency when creating a new stock item
2020-11-12 11:50:59 +11:00
Oliver Walters
e4f2eecb3b
Remove defunct 'build_order' field from StockItem model
...
- This is now handled by the new-and-improved build system, no longer required
2020-11-10 20:12:39 +11:00
Oliver Walters
734436b02e
Add integration of django-money
...
- Proper currency support
- Add PurchasePrice field to StockItem model
- This keeps track of both the price and the currency
- Display purchase price on the stockitem detail page
2020-11-10 16:22:42 +11:00
Oliver Walters
a6028f027a
Add setting to allow or prohibit duplicate IPN values
2020-11-10 09:03:26 +11:00
Oliver Walters
56b287b2c8
Logic fix for editing stock item creation form
2020-11-04 08:29:09 +11:00
Oliver Walters
2b91f69c7d
Fix unit tests
2020-11-03 20:19:24 +11:00
Oliver Walters
500da8099b
Add forms / views for creating a new build output, and completing the build
...
- Also some refactoring of how forms are handled and saved
2020-11-02 22:56:26 +11:00
Oliver Walters
b02c87ea50
Lots of work towards multiple build output
2020-11-02 01:24:31 +11:00
Oliver Walters
f1b83f1c17
Update fixtues for unit testing
2020-11-01 15:34:42 +11:00
Oliver Walters
95fadf1300
Update unit testing
2020-10-30 23:08:12 +11:00
Oliver Walters
3a702266e6
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/InvenTree/views.py
# InvenTree/build/views.py
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/order/views.py
# InvenTree/part/api.py
# InvenTree/part/views.py
# InvenTree/templates/js/bom.js
2020-10-30 22:44:25 +11:00
Oliver Walters
1caa341f8e
Fixes for unit tests
2020-10-30 21:34:56 +11:00
Oliver Walters
e049ca1a85
More refactoring
2020-10-30 16:54:05 +11:00
Oliver Walters
c533f59405
Refactor how form errors are handled
...
- Use form.add_error (as the django gods intended)
2020-10-30 16:04:56 +11:00
Oliver Walters
5c5641d884
Update calls to post_save
2020-10-30 10:12:42 +11:00
Oliver Walters
90cfb3496a
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.mo
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/templates/js/bom.js
2020-10-29 15:23:51 +11:00
Oliver Walters
1d6d1121a7
Add some more icons
2020-10-29 13:58:05 +11:00
Oliver Walters
a263d2fdcd
Fixes for "auto allocate" concept
2020-10-29 00:49:01 +11:00
Oliver Walters
4a7e9a2278
Update translations and PEP fixes
2020-10-28 23:59:18 +11:00
Oliver Walters
091a9d9803
Refactor how form errors are handled
...
- When in doubt, refer to the django docs
- There was a *much* better way (thanks, form.add_error)!
- The anti-pattern was deleted, and lo, there was much rejoicing
- Some other refactoring too
2020-10-28 23:33:33 +11:00
Oliver Walters
d06b4d7c9f
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/InvenTree/urls.py
# InvenTree/locale/de/LC_MESSAGES/django.mo
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/part/templates/part/bom.html
# InvenTree/templates/js/build.js
# InvenTree/templates/js/table_filters.js
# InvenTree/templates/stock_table.html
# tasks.py
2020-10-28 22:25:14 +11:00
Oliver Walters
d0b7d91ca4
Update multiple templates with fontawesome icons
2020-10-28 18:30:38 +11:00
Oliver Walters
646fe40950
Require either serial or batch number to be set for trackable part
2020-10-27 22:00:38 +11:00
Oliver Walters
b45a11aa3d
Refactor: Add "makeIconBadge" javascript function
2020-10-24 00:33:30 +11:00
Oliver Walters
fb7d9a7edf
Move "getAvailableStockItems" to the build model
2020-10-23 23:33:27 +11:00
Oliver Walters
e02536071d
Add a "completed" field to the Build model
...
- Keeps track of how many outputs have been produced
- Will not be directly editable by the user
2020-10-20 23:59:37 +11:00
Oliver Walters
3bb247a135
Create an initial stockitem output when a new build is created
2020-10-20 23:27:43 +11:00
Oliver Walters
652c2dbcbe
Automagically disable 'serial_numbers' field for StockItemCreate form
...
- Yay, ajax magic!
2020-10-20 22:37:55 +11:00
Oliver Walters
28460b3023
Validate that the BuildItem quantity is an integer
2020-10-20 20:42:29 +11:00
Oliver Walters
fdcef7b699
Add "install_into" field for BuildItem
...
- Points to which output stock item it will be going into
2020-10-20 20:37:57 +11:00
Oliver Walters
647e2cf64d
Change text for barcode
2020-10-19 16:06:18 +11:00
Oliver Walters
634410294b
Display table of items received against a particular purchase order
...
- Adds new tab to "Purchase Order" view
- Adds ability to filter StockList API by purchase_order ID
2020-10-19 11:40:57 +11:00
Oliver Walters
3c175a6c8d
Update creation of StockItem via API
...
- If no location is specified, but a default location exists for the part, use that
- If a location is specified (even if it is null) then the specified value is used instead
2020-10-18 22:24:45 +11:00
eeintech
dbee26aaad
Fixed insertion of backslash in the barcode button group
2020-10-13 10:29:34 -05:00
eeintech
5bcf8529ff
Only users with Part view permission have part URL shown
2020-10-06 09:16:38 -05:00
eeintech
e4ce19d22a
Added Test user and all permissions
2020-10-06 09:02:10 -05:00