Commit Graph
100 Commits
Author SHA1 Message Date
Oliver 47c385cac2 Bump version number -> 0.4.5 2021-08-11 00:30:14 +10:00
Oliver aea43924ae Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-11 00:29:36 +10:00
OliverandGitHub 2cf7592198 Merge pull request #1941 from SchrodingersGat/lazy-loading
Adds one-shot function when a panel is displayed
2021-08-11 00:29:06 +10:00
Oliver 46fa60953d Refactor part page 2021-08-11 00:12:55 +10:00
Oliver 68282c93f4 Start API calls before the panel has finished loading 2021-08-11 00:12:48 +10:00
Oliver a1922bff81 Adds one-shot function when a panel is displayed 2021-08-11 00:09:01 +10:00
OliverandGitHub b94104f7ab Merge pull request #1940 from SchrodingersGat/stock-table-fix
Bug fix for stock table
2021-08-10 23:52:55 +10:00
OliverandGitHub bfc489a35b Merge pull request #1939 from SchrodingersGat/transfer-stock-bug
Bug fix for stock transfer form
2021-08-10 23:39:31 +10:00
Oliver 535c36b75e Bug fix for stock table
- Use the provided table name, rather than hard-coded value

(cherry picked from commit b3a52dd6c65a83f2f330c0275b443e9acbcbdf73)
2021-08-10 23:31:20 +10:00
OliverandGitHub 1bf2a3e23f Merge pull request #1938 from SchrodingersGat/auth-bug
Fix bug when using token based auth
2021-08-10 23:24:01 +10:00
Oliver 4c8eaf3942 Bug fix for stock transfer form 2021-08-10 23:23:02 +10:00
Oliver 799f17ef50 Bypass custom token auth for /api/ endpoint 2021-08-10 23:09:54 +10:00
Oliver 7ef5c0058e Fix bug when using token based auth 2021-08-10 22:50:49 +10:00
OliverandGitHub b92ec751ef Merge pull request #1934 from markdedeuge/bugfix/timezone_heartbeat
use django timezone'd datetime to squash timezone warnings from worke…
2021-08-10 15:16:42 +10:00
OliverandGitHub 0e0f490f8d Merge pull request #1932 from SchrodingersGat/supplier-part-bug-fix
Supplier part bug fix
2021-08-10 11:18:02 +10:00
OliverandGitHub 3df7299a61 Merge pull request #1931 from markdedeuge/patch-1
Update nginx.conf to use http_host rather than host fixes #1930
2021-08-10 11:04:56 +10:00
Oliver c32b6b2272 Hide the "part" field when editing manufacturer part and supplier part objects 2021-08-10 11:01:17 +10:00
Oliver e03afce335 Add "instance_filters" for SupplierPart model
- Restrict the "manufacturer_part" query based on the current part
2021-08-10 11:00:27 +10:00
Oliver 7117c33379 Raise validation error if the manufacturer part does not point to the correct part 2021-08-10 10:58:11 +10:00
OliverandGitHub 6620d34f25 Merge pull request #1913 from eeintech/bom_upload
BOM upload templates fixes
2021-08-10 09:11:25 +10:00
OliverandGitHub 0a1ce59dfc Merge pull request #1858 from eeintech/exchange_rate_task
Exchange rate as worker task
2021-08-10 08:23:46 +10:00
OliverandGitHub 98211f1ae1 Merge pull request #1928 from erkutalakus/hotfix/unlocalization-of-item-quantity
Localization of item.quantity removed
2021-08-09 21:42:07 +10:00
Oliver 50198c0f1e Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-09 16:19:47 +10:00
OliverandGitHub 970d2ac1f8 Merge pull request #1926 from SchrodingersGat/api-bump
Bump API version to from 8 -> 9
2021-08-09 16:19:26 +10:00
Oliver bb8b9dfcec Bump API version to from 8 -> 9
(Also moved the API version info from version.py to
2021-08-09 14:54:07 +10:00
OliverandGitHub 90d753001f Merge pull request #1925 from matmair/fix-price-breaksfilters
Fix for missing part filter
2021-08-09 14:49:49 +10:00
Oliver a846334698 0.4.4
Bump release version
2021-08-09 09:45:56 +10:00
Oliver e8d4e2a7e6 Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-09 09:45:13 +10:00
OliverGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
9565b3004d L10 (#1924)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-09 09:44:32 +10:00
OliverandGitHub 681f285aa3 Merge pull request #1923 from SchrodingersGat/secondary-modals
Secondary modals
2021-08-08 01:13:42 +10:00
Oliver Walters e3efd12184 secondary for purcahse order 2021-08-08 00:50:59 +10:00
Oliver Walters 52ba2201b2 secondary for creating sales order customers 2021-08-08 00:49:16 +10:00
Oliver Walters 4e6c8c45ee secondary modal for part form 2021-08-08 00:44:46 +10:00
Oliver Walters 1dc5682767 bug fix 2021-08-08 00:44:30 +10:00
OliverandGitHub 0ad206d9eb Merge pull request #1922 from SchrodingersGat/secondary-modals
Secondary modals
2021-08-08 00:06:45 +10:00
Oliver Walters 720b332f71 Adds secondary to manufacturerpart form 2021-08-07 23:49:50 +10:00
Oliver Walters 94c1ed882f Add secondary field options for "Create Supplier Part" form
- Supplier
- Manufacturer Part
2021-08-07 23:42:42 +10:00
Oliver Walters b960ce839a remove debug statement 2021-08-07 23:31:21 +10:00
Oliver Walters fd917b2e41 Simple refactoring 2021-08-07 23:30:53 +10:00
Oliver Walters 25af8559ba Back-fill newly created model data into the parent modal form 2021-08-07 23:27:31 +10:00
Oliver Walters 759a3724b5 Add function to extract all data from a displayed form 2021-08-07 23:09:56 +10:00
OliverandGitHub 0d80ae9f93 Merge pull request #1921 from SchrodingersGat/label-print-options
Add inline option for reports, too
2021-08-07 22:49:55 +10:00
Oliver Walters e583d1a159 Actually use the variable, I suppose 2021-08-07 22:30:51 +10:00
Oliver Walters f405e4b701 Add inline option for reports, too 2021-08-07 22:28:48 +10:00
OliverandGitHub 5448165ef3 Merge pull request #1920 from SchrodingersGat/label-print-options
Label print options
2021-08-07 22:27:34 +10:00
Oliver Walters ca9536f687 Implement option to display labels "inline" in the browser 2021-08-07 22:09:15 +10:00
OliverandGitHub 8e8696eda9 Merge pull request #1919 from SchrodingersGat/template-name-fix-2
Add model validator to prevent illegal names for PartParameterTemplate
2021-08-07 22:00:11 +10:00
Oliver Walters d77b99c0ca Add user settings for report and labels 2021-08-07 21:57:41 +10:00
Oliver Walters 174ac64235 Allow downloaded files to be inline or attachments 2021-08-07 21:45:18 +10:00
Oliver Walters 24638a7229 Add migration file 2021-08-07 21:41:45 +10:00
OliverandGitHub 7629077deb Merge pull request #1918 from SchrodingersGat/version-number-check
Check release tag before publishing docker image
2021-08-07 21:35:03 +10:00
Oliver Walters 6d42cfab75 Add model validator to prevent illegal names for PartParameterTemplate
(cherry picked from commit 93805a87e0)
2021-08-07 21:23:52 +10:00
Oliver Walters e72e34413d Check release tag before publishing docker image 2021-08-07 21:21:09 +10:00
OliverandGitHub 512eceb2a6 Merge pull request #1916 from SchrodingersGat/part-params-fix
Fix part settings page
2021-08-07 21:07:30 +10:00
Oliver Walters 2e5d5bcc84 Fix part settings page 2021-08-07 20:50:32 +10:00
OliverandGitHub 6234581fab Update README.md 2021-08-07 11:16:37 +10:00
Oliver ce62da5a42 Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-05 23:35:34 +10:00
OliverandGitHub 76572bf82f Merge pull request #1907 from matmair/trans-improv
translation improvement
2021-08-05 20:28:45 +10:00
Oliver 599c53ea53 Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-05 13:24:47 +10:00
OliverandGitHub a45437dac8 Merge pull request #1909 from SchrodingersGat/new-weasyprint
Pin weasyprint version to 52.5
2021-08-05 13:24:27 +10:00
Oliver 00ffab472c Fix for build report template 2021-08-05 10:44:47 +10:00
Oliver fa6daeb679 Pin weasyprint version to 52.5 2021-08-05 10:30:38 +10:00
Oliver 96b5f70c21 Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-05 08:43:04 +10:00
OliverandGitHub be67832821 Merge pull request #1908 from eeintech/fix_typo
Fixed typo for build responsible column header
2021-08-05 08:14:51 +10:00
OliverandGitHub 38815211af Merge pull request #1904 from SchrodingersGat/part-forms
Refactor Part creation and editing forms
2021-08-05 08:14:32 +10:00
Oliver Walters c7712d4235 even more unit tests 2021-08-05 01:13:48 +10:00
Oliver Walters 655e5692e9 More unit test fixes 2021-08-05 00:58:07 +10:00
Oliver Walters 6acff2a26e Fixes unit test 2021-08-05 00:40:02 +10:00
Oliver Walters aaf394ca7a PEP fixes 2021-08-05 00:26:21 +10:00
Oliver Walters dd78464a74 remove unused function 2021-08-05 00:25:47 +10:00
Oliver Walters aa4ed9feb0 Refactor MakeVariant form
- Now is essentially identical to the DuplicatePart form
- Uses the API form structure
2021-08-05 00:24:38 +10:00
Oliver Walters 0e8fb6a5ad Refactored DuplicatePart form
- API endpoint now takes care of duplication of other data
2021-08-05 00:16:42 +10:00
Oliver Walters 2cb0b448b7 Fix error message styles for API errors
- django ValidationError uses "__all__" key for non_field_errors
- whyyyyyyyyyyyy
2021-08-05 00:15:55 +10:00
Oliver Walters 408ff639dd Adds ability to pre-fill a form with a complete dataset 2021-08-04 23:48:21 +10:00
Oliver Walters 1fafaf8577 Refactor partfields function (was essentially duplicated) 2021-08-04 23:29:39 +10:00
Oliver Walters b04f22fc53 CreatePart form now uses the API
- Simplify the way category parameter templates are copied
2021-08-04 23:27:16 +10:00
Oliver Walters 2bf3e3ab02 Function to construct part form fields 2021-08-04 23:26:17 +10:00
Oliver Walters a64ee23afc Add more options for form rendering
- "before" a field
- "after" a field
- pure "eye candy" field
2021-08-04 23:16:11 +10:00
OliverandGitHub 5aa111b0aa Merge pull request #1902 from SchrodingersGat/bom-item-form
Use API forms for creating and editing BomItem objects
2021-08-04 18:06:42 +10:00
Oliver Walters 2e8a490ca9 Fixes for unit tests 2021-08-04 17:41:47 +10:00
Oliver Walters 75a1be0284 Use API forms for creating and editing BomItem objects 2021-08-04 17:25:51 +10:00
OliverandGitHub 96a79e557b Merge pull request #1901 from SchrodingersGat/table-refresh
Adds a button to tables to reload data
2021-08-04 14:59:51 +10:00
Oliver 1f70538b04 Adds a button to tables to reload data 2021-08-04 14:24:17 +10:00
Oliver db6d7c2d27 Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-04 12:32:36 +10:00
OliverandGitHub 7911801dbf Merge pull request #1900 from SchrodingersGat/part-image-search
Make the part thumbnail selection window searchable
2021-08-04 12:28:52 +10:00
Oliver 56c0e289bd Style fix 2021-08-04 12:13:24 +10:00
Oliver 6cd87e830d Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-04 12:12:12 +10:00
Oliver f95346f214 Make the part thumbnail selection window searchable 2021-08-04 12:10:49 +10:00
OliverandGitHub 7545591c59 Merge pull request #1899 from SchrodingersGat/cat-create
Refactor "CreatePartCategory" form to API
2021-08-04 11:52:21 +10:00
Oliver 989983bdb5 Fixed missing import 2021-08-04 11:37:59 +10:00
Oliver 83d8226ad6 Refactor "CreatePartCategory" form to API
(cherry picked from commit 06ff961564)
2021-08-04 11:34:42 +10:00
Oliver c4570a79de Merge remote-tracking branch 'inventree/master' into 0.4.x 2021-08-04 09:04:24 +10:00
OliverandGitHub 8daf601f00 Merge pull request #1897 from matmair/price-terms
updating language to be clearer
2021-08-04 09:03:13 +10:00
OliverandGitHub 69f242d11d Merge pull request #1892 from eeintech/stock_installed_items
Re-enabled installing stock items into others
2021-08-04 09:01:28 +10:00
OliverandGitHub 910c57c92d Merge pull request #1895 from eeintech/fix_has_ipn_filter
'has_ipn' filter method did not return queryset
2021-08-04 08:55:49 +10:00
Oliver 073bb7c488 Merge pull request #1894 from SchrodingersGat/non-int-serial-fix
Fix for non-integer serial numbers

(cherry picked from commit 529742b520)
2021-08-03 10:06:19 +10:00
OliverandGitHub 529742b520 Merge pull request #1894 from SchrodingersGat/non-int-serial-fix
Fix for non-integer serial numbers
2021-08-03 10:03:05 +10:00
Oliver f057937df0 Fix for non-integer serial numbers 2021-08-03 09:46:28 +10:00
OliverandGitHub 9aa5086067 Merge pull request #1819 from eeintech/part_main_details
Cleaner part details
2021-08-02 08:47:18 +10:00
Oliver b18f360daf 0.4.2 2021-08-02 08:43:04 +10:00