Commit Graph

7699 Commits

Author SHA1 Message Date
Oliver Walters
d5e58fd798 Fix for status code serializer 2021-08-24 22:03:52 +10:00
Oliver
86e3e26196 Merge remote-tracking branch 'inventree/master' into receive-via-api 2021-08-24 15:07:55 +10:00
Oliver
0073a77e16
Merge pull request #2008 from matmair/fix-for-1986
Fix for 1986
2021-08-24 14:13:50 +10:00
Oliver
7f75c610ef
Merge pull request #2012 from SchrodingersGat/search-preview-click
Wrap search preview results in <a>
2021-08-24 13:47:55 +10:00
Oliver
36a0496dd7 Wrap search preview results in <a>
- Allows clicking with middle mouse (for e.g.) to open in new tab
2021-08-24 13:11:37 +10:00
Oliver
44ecd958a2
Merge pull request #2011 from SchrodingersGat/boolean-form-fixes
Fix for "part" form fields
2021-08-24 12:10:00 +10:00
Oliver
56f27aae23
Merge pull request #2010 from SchrodingersGat/sales-order-tab-fix
Hide "Sales Orders" tab if part is not salable
2021-08-24 12:03:09 +10:00
Oliver
8fc79f45a3 Fix for "part" form fields
- Specify "default" rather than overriding "value"
2021-08-24 11:55:58 +10:00
Oliver
7646535aaf Hide "Sales Orders" tab if part is not salable 2021-08-24 11:48:42 +10:00
Oliver
1b65fbad2c Update unit tests
- Found some bugs too, thanks unit tests!
2021-08-24 11:42:08 +10:00
Oliver
d30173132a Actually receive items 2021-08-24 08:49:23 +10:00
Oliver
2aa505b2cb Fix unit tests to match new API format 2021-08-24 08:18:59 +10:00
Oliver
5349addc06
Merge pull request #2005 from eeintech/ui_updates
Updated color of `new` and `add` UI buttons
2021-08-24 08:12:45 +10:00
Matthias
391bb0dbe4
disable ordering on loadStockTable 2021-08-23 22:14:51 +02:00
Matthias
4efcfbecaf
refactor stock.js columns into a variable 2021-08-23 22:07:20 +02:00
eeintech
35738ce026 Updated all 'add' buttons to 'btn-success' CSS class 2021-08-23 14:52:35 -04:00
eeintech
6f742319e5 Corrected color of 'new' orders UI button 2021-08-23 12:48:47 -04:00
Oliver
6091f2ba33 Serializer improvements
- Pass the "order" down to the nested serializers for validation
2021-08-24 00:29:38 +10:00
Oliver
dc53a433a7 Fix serializer nesting
- Add new API endpoint to receive items
- Add unit testing
2021-08-23 23:35:22 +10:00
Oliver
28cc241354 Custom DRF serializers for receiving line items against a purchase order 2021-08-23 23:13:07 +10:00
Oliver
f136c974cf
Merge pull request #2003 from SchrodingersGat/edit-purchase-prices
Edit purchase prices
2021-08-23 22:54:12 +10:00
Oliver
90d0b8b15d Bump API version 2021-08-23 21:45:40 +10:00
Oliver
5d4f35958d Point table at the new read-only field 2021-08-23 21:45:32 +10:00
Oliver
bb8b85c375 Separate purchase_price and purchase_price_currency for StockItem serializer
- Add "purchase_price_string" for a read-only stringified representation
- Unit testing
2021-08-23 21:44:12 +10:00
Oliver
d267d04bed Allow validation of empty money values 2021-08-23 21:43:31 +10:00
Oliver
f96051d863 Replace print statement with a logger warning 2021-08-23 21:39:54 +10:00
Oliver
8662e6a109 Fix a super annoying validation issue
- Was throwing opaque "too many values to unpack" error
- Simply needed the name of the field.
2021-08-23 21:39:00 +10:00
Oliver
1fb76b9987
Merge pull request #1999 from matmair/turn-of-functions
Disable functions in navbars
2021-08-23 20:29:28 +10:00
Matthias Mair
4c8fdab072
fixed descriptions 2021-08-23 09:44:52 +02:00
Oliver
fd1dd792c6
Merge pull request #1957 from matmair/bpm-purchase-price
BOM - show purchase price
2021-08-23 11:07:30 +10:00
Oliver
87a41c7e39
Merge pull request #2000 from SchrodingersGat/dev-conf-fix
Fix for docker development env file
2021-08-23 09:10:25 +10:00
Oliver
47524f6ea3 Fix for docker development env file 2021-08-23 08:39:09 +10:00
Oliver
a5f26c7f09
Merge pull request #1998 from bobek/patch-1
Fix for production docker environment
2021-08-23 08:38:04 +10:00
Matthias
9fd4b5cce3
use new setting for part-actions
PR complete for #1999
2021-08-22 23:36:49 +02:00
Matthias
b674d851f2
disable fucntions in master nav 2021-08-22 22:30:21 +02:00
Matthias
3682eaac14
disable links in navbar in company views 2021-08-22 22:27:53 +02:00
Matthias
d4efdf86e5
new settingsthe settings-page 2021-08-22 22:09:07 +02:00
Matthias
8edfada22a
adding settings definitions for turning off features 2021-08-22 22:08:41 +02:00
Antonin Kral
7f126e58d2
Fix for production docker environment
Values are passed as written resulting in `"WARNING"` being passed to python logger, which will complain and panic. Fix is simply to remove `"` from the value.
2021-08-22 20:59:51 +02:00
Oliver
b6df623554
Merge pull request #1997 from SchrodingersGat/new-po-from-order
Refactor buttons in "order parts" wizard
2021-08-23 00:49:27 +10:00
Oliver Walters
174b7ba7f2 Fix for "new purchase order" button 2021-08-23 00:28:36 +10:00
Oliver Walters
449e0c0af2 Refactor button in first step of "order parts" wizard
- "new supplier part" button was broken
- Was linked to the old "launchModalForm" code
- Now calls createSupplierPart
2021-08-23 00:17:45 +10:00
Oliver
3cf06b4960
Merge pull request #1995 from SchrodingersGat/delete-unused-images
remove some unused images
2021-08-23 00:11:39 +10:00
Oliver Walters
f2e58ebbdd remove some unused images 2021-08-22 23:54:43 +10:00
Oliver
370fbea396
Merge pull request #1987 from matmair/fix-for-1986
Disable table sorting when order is fixed
2021-08-22 23:47:21 +10:00
Oliver
51de0a982a
Merge pull request #1990 from matmair/fix-tooltip-linebreak
Fix tooltip linebreak
2021-08-22 08:19:54 +10:00
Matthias
38af66c0de
fix linebreak in tooltip
found during fixing #1989
2021-08-21 00:07:45 +02:00
Matthias
8fad704d76
disable ordering on stock 2021-08-20 22:53:25 +02:00
Matthias
5a59a37a89
disable ordering on category 2021-08-20 22:52:57 +02:00
Matthias
109b8c943e
disable ordering on part-name 2021-08-20 22:52:14 +02:00