Oliver Walters
ed4da4d338
Improve introspection in migration file
2021-05-11 18:23:29 +10:00
Oliver Walters
70ad0ba0de
Improve reporting in stock history API
2021-05-11 17:41:17 +10:00
Oliver Walters
af53b341f0
Replace "addTrasactionNote" function with "add_tracking_entry"
...
- Does not add translated strings to the database
2021-05-11 17:17:48 +10:00
Matthias Mair
e59f467c79
Merge branch 'master' into spaces!
2021-05-08 12:27:19 +02:00
Francois
5ed17022f2
Fixed stock import as it was not validating the serial properly ( #1559 )
2021-05-07 07:57:16 +10:00
c1bcc60f0a
forgot a py
2021-05-06 14:41:26 +02:00
Matthias Mair
39d4129157
chery picked all fixed trans str from #1438 ( #1554 )
2021-05-06 20:29:58 +10:00
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
eeintech
2dbd61c611
Stock return to customer fix, stock children item table fix
2021-04-19 11:25:39 -04:00
eeintech
1bf72ee335
Added revision and stock item URL for label creation
2021-04-14 16:00:28 -04:00
20c455384e
added more translation-strings
2021-04-04 22:44:14 +02:00
2de6fcbfa4
added missing translation fields #753
2021-04-03 03:59:09 +02:00
Oliver
b95d6a4ab2
Merge pull request #1327 from SchrodingersGat/installed-test-results
...
Read test results from installed items
2021-02-19 16:49:51 +11:00
Oliver Walters
6037f1452a
Unit testing for new feature
2021-02-19 15:50:32 +11:00
Oliver Walters
ea4b713eed
Allow adjustment for destroyed (or lost) stock
2021-02-19 15:13:56 +11:00
Oliver Walters
556d6455e8
Add "packaging" field for StockItem
2021-02-19 11:08:58 +11:00
Oliver Walters
a9f255be85
Prevent stock item being added as an installed item inside itself
2021-02-18 18:01:41 +11:00
Oliver Walters
ef23ab1abc
Adds functionality for traversing "through" installed items to extract test results
2021-02-18 17:59:04 +11:00
Oliver Walters
2fa7c8706b
Wrap custom filter validation in try/except blocks
2021-02-10 20:40:15 +11:00
Oliver Walters
8fda2cf745
Fixes for unit tests
2021-01-29 12:47:46 +11:00
Oliver Walters
4ef6a6dc62
Translations for stock transaction notes
2021-01-29 12:23:22 +11:00
eeintech
72c7ceb553
Merged master and updated stock_table.html
2021-01-17 13:11:59 -05:00
eeintech
28fb1b5fab
Added owner model to admin page and added test cases
2021-01-13 11:38:37 -05:00
eeintech
6f3cbb4e14
Switched to global owner model, need to validate use-cases table and fix tests
2021-01-11 17:41:29 -05:00
eeintech
6a88bdb37d
StockLocation owner is now a GenericForeignKey that can be set to user or group models
2021-01-11 12:56:40 -05:00
Oliver Walters
01e27a0d59
Add simplified 'barcode' function for StockItem
2021-01-12 00:22:58 +11:00
Oliver Walters
b6cd2c215a
Adds function to provide simplified barcode for stock location
2021-01-11 21:32:31 +11:00
Oliver Walters
e133fff03e
Download PDF for labels
2021-01-09 21:50:42 +11:00
eeintech
f26f1c38a2
Merged master
2021-01-07 13:50:29 -05:00
Oliver Walters
bb72658e76
Rearrange button options for StockItem
2021-01-07 00:18:18 +11:00
Oliver Walters
e5b346e7fa
PEP fixes
2021-01-06 23:09:26 +11:00
Oliver Walters
e62873a650
Display "stale" status on StockItem info page
2021-01-06 22:21:18 +11:00
Oliver Walters
6d4c81e68b
Add ability to filter by 'expired' status in API
2021-01-04 00:19:48 +11:00
Oliver Walters
07cda765f0
Add "expiry_date" field to StockItem model
...
- Also adds "is_expired" function
2021-01-03 23:56:35 +11:00
eeintech
c9b3c16c6f
Added help text on owner fields
2020-12-01 17:46:11 -05:00
eeintech
e1fb7e5d98
Added owner field to both stock item and location tables and forms
2020-12-01 13:45:01 -05: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
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
2b91f69c7d
Fix unit tests
2020-11-03 20:19:24 +11:00
Oliver Walters
b02c87ea50
Lots of work towards multiple build output
2020-11-02 01:24:31 +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
a263d2fdcd
Fixes for "auto allocate" concept
2020-10-29 00:49:01 +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
646fe40950
Require either serial or batch number to be set for trackable part
2020-10-27 22:00:38 +11:00