Oliver Walters
0797e9ebf0
Simplify the new template rendering
...
- No extra template code is required for any new page
- All loaded in base.html or page_base.html
- Oh, so clean!
2022-05-06 23:19:21 +10:00
Oliver Walters
71128a1c8e
Refactor the plugin javascript template
...
- Can appear in "base.html"
- Only renders anything if there are actually plugins available for the page
2022-05-06 22:57:15 +10:00
Oliver Walters
c80b36fc2f
Adds a new InvenTreePluginMixin mixin class for enabling custom plugin rendering on a page
...
- Any view which needs custom plugin code must implement this mixin
- Initially implement for the PartDetail page
2022-05-06 22:52:52 +10:00
Oliver Walters
7b8a10173d
Adds a new "Panel" mixin which can render custom panels on given pages
...
- Adds item to sidebar menu
- Adds panel content
- Runs custom javascript when the page is loaded
2022-05-06 22:49:51 +10:00
Oliver Walters
28e16616e5
Adds a PanelMixin plugin mixin class
...
Intended to allow rendering of custom panels on pages
2022-05-06 21:32:11 +10:00
Oliver Walters
170cb54490
Sort urls.py
2022-05-06 21:30:27 +10:00
Oliver Walters
b80ff5e460
Tweak display of plugin badges
2022-05-06 21:03:30 +10:00
Oliver and GitHub
9e1d8e52f3
Merge pull request #2805 from matmair/matmair/issue2385
...
Plugins for notifications
2022-05-06 20:00:56 +10:00
Oliver and GitHub
1b7172b57e
Merge pull request #2936 from matmair/test_tags
...
Test more templatetags
2022-05-06 12:16:14 +10:00
Oliver and GitHub
eb1aad71ea
Merge pull request #2935 from matmair/fix-anon-static
...
fix error with anon connections and language check
2022-05-06 09:16:57 +10:00
Oliver and GitHub
943dc7886e
Merge pull request #2932 from matmair/so_fix_clean
...
Use full names consistently
2022-05-05 23:01:33 +10:00
Oliver and GitHub
1dee578907
Merge pull request #2931 from SchrodingersGat/more-api-functionality
...
Converting more forms to the API
2022-05-04 23:24:28 +10:00
Oliver Walters
82541ede32
More unit tests
...
- BuildOrderCancel
- StockItemInstall
- StockItemUninstall
2022-05-04 22:49:21 +10:00
Oliver and GitHub
4053a91450
Merge pull request #2791 from matmair/matmair/issue2788
...
Preserve orders if companies are deleted
2022-05-04 22:23:47 +10:00
Oliver Walters
1c0fba0fca
Add unit test for SalesOrderCancel API endpoint
2022-05-04 21:51:09 +10:00
Oliver Walters
7a5be35f10
Add unit tests for new purchase order API endpoints:
...
- PurchaseOrderCancel
- PurchaseOrderComplete
- PurchaseOrderIssue
2022-05-04 21:44:38 +10:00
Oliver Walters
88dbd5aa74
PEP fixes
2022-05-04 18:46:07 +10:00
Oliver Walters
104f9d4a70
Remove outdated unit tests
2022-05-04 18:39:33 +10:00
Oliver Walters
17c84141b1
Javascript linting
2022-05-04 17:38:01 +10:00
Oliver Walters
7365f7b5cb
Paint the icon red
2022-05-04 17:33:19 +10:00
Oliver Walters
1cefdfc2e4
PEP style fixes
2022-05-04 17:31:44 +10:00
Oliver Walters
adbcd68fe8
Refactor "uninstall stock item" form to use the API
2022-05-04 17:25:24 +10:00
Oliver Walters
5cf30a850d
Prune a lot of dead code
2022-05-04 17:01:19 +10:00
Oliver Walters
bd3d6f47a1
Refactor CancelBuild form
2022-05-04 16:30:46 +10:00
Oliver Walters
768e23c7b8
Refactor BuildOrder API classes with a fancy mixin
2022-05-04 15:59:30 +10:00
Oliver Walters
a510ca89f7
Refactor CancelSalesOrder form
2022-05-04 15:55:21 +10:00
Oliver Walters
bf48e3204b
Refactor PurchaseOrderIssue form
2022-05-04 15:45:13 +10:00
Oliver Walters
5afc3bfce2
Replace PurchaseOrderComplete form
2022-05-04 15:33:50 +10:00
Oliver Walters
e527ddcc86
Extract context information from the OPTIONS request (forms.js)
2022-05-04 15:31:33 +10:00
Oliver Walters
4e7d1d8e7f
Bump API version
2022-05-04 15:16:50 +10:00
Oliver Walters
62cd0f39c7
Replace the existing CancelPurchaseOrderForm with an API driven form
2022-05-04 15:14:14 +10:00
Oliver Walters
e920fc31e7
Only include extra context information if requested
2022-05-04 15:07:22 +10:00
Oliver Walters
c7980a347e
Adds ability to add custom serializer context information to the OPTIONS endpoint
...
- Will be useful for constructing prettier forms with information about the endpoint
2022-05-04 15:06:02 +10:00
Oliver and GitHub
dbc0023c57
Update CONTRIBUTING.md
...
Update labels a bit
2022-05-04 12:10:00 +10:00
Oliver and GitHub
1e4cf346e3
Merge pull request #2922 from matmair/doc-update
...
Clean up tags
2022-05-04 11:53:47 +10:00
Oliver and GitHub
628c9edd09
Merge pull request #2929 from SchrodingersGat/spelling-fixes
...
Fix speling errors in translated strings
2022-05-04 09:56:47 +10:00
Oliver and GitHub
b65a969433
Merge pull request #2928 from matmair/coverage-adaption
...
Increase coverage
2022-05-04 09:39:24 +10:00
Oliver Walters
75e24635b5
Fix speling errors in translated strings
2022-05-04 09:17:42 +10:00
Oliver and GitHub
a191e45511
Merge pull request #2927 from SchrodingersGat/order-parts-wizard
...
Order parts wizard
2022-05-03 18:36:45 +10:00
Oliver Walters
e7ddeb8173
PEP style fixes
2022-05-03 17:36:30 +10:00
Oliver Walters
96c5a8252c
remove dead code
2022-05-03 17:33:03 +10:00
Oliver Walters
f0e8e32c8a
More refactoring
2022-05-03 17:27:21 +10:00
Oliver Walters
f3e8edaf1f
Refactor for SupplierPart detail page
2022-05-03 17:21:33 +10:00
Oliver Walters
05b01e4d6c
Refactor order parts for manfuacturer part detail page
2022-05-03 17:16:38 +10:00
Oliver Walters
28f3244574
Order parts from "supplier parts" page
...
- Prevent duplicate parts from loading
2022-05-03 16:52:23 +10:00
Oliver Walters
c0163a476f
Refactor 'order parts' window from manufacturer part list
2022-05-03 16:42:00 +10:00
Oliver and GitHub
1158b81b8b
Merge pull request #2926 from SchrodingersGat/event-generation
...
Use the tablename when generating automatic model events
2022-05-03 15:38:31 +10:00
Oliver and GitHub
e938870b32
Merge pull request #2770 from SchrodingersGat/order-parts-wizard
...
Order parts wizard
2022-05-03 14:56:53 +10:00
Oliver Walters
bac5a16491
JS linting fxies
2022-05-03 14:28:41 +10:00
Oliver Walters
141b764b94
Modal fixes
2022-05-03 14:01:25 +10:00
Oliver Walters
8cd8581dbf
fixes
2022-05-03 13:51:04 +10:00
Oliver Walters
1794f65d19
Button to submit each row individually
2022-05-03 13:44:28 +10:00
Oliver Walters
d69b5811b1
Improved javascript log / warn / error messages
2022-05-03 12:00:28 +10:00
Oliver Walters
4732efb330
Fix callbacks for adding new supplier part and/or purchase order "inline"
2022-05-03 11:42:13 +10:00
Oliver Walters
40c9885b87
Merge remote-tracking branch 'inventree/master' into order-parts-wizard
2022-05-03 10:32:47 +10:00
Oliver Walters
f1d8bf71b7
Use the tablename when generating automatic model events
2022-05-03 10:18:11 +10:00
Oliver and GitHub
972cff493e
Merge pull request #2917 from matmair/new-readme
...
Add new readme
2022-05-03 09:26:48 +10:00
Oliver Walters
e87a02638e
Merge remote-tracking branch 'inventree/master' into order-parts-wizard
...
# Conflicts:
# InvenTree/order/serializers.py
# InvenTree/templates/js/translated/model_renderers.js
2022-05-02 16:11:11 +10:00
Oliver and GitHub
41177f8611
Merge pull request #2918 from SchrodingersGat/translation-adjustment
...
Translation adjustment
2022-05-02 11:25:56 +10:00
Oliver and GitHub
4d7eda2572
Merge pull request #2919 from SchrodingersGat/import-delete
...
Adds option to delete existing data when importing records
2022-05-02 11:18:29 +10:00
Oliver Walters
d49763bd25
Adjust translation compilation step performed as part of "invoke update"
2022-05-02 10:53:43 +10:00
Oliver Walters
18080f329b
Remove compiled .mo files from tracking
2022-05-02 10:52:30 +10:00
Oliver Walters
cfb523adec
Adds option to delete existing data when importing records
2022-05-02 10:45:26 +10:00
Oliver and GitHub
422e22b8e6
Merge pull request #2916 from SchrodingersGat/use-the-force
...
Force push translation files
2022-05-02 10:38:42 +10:00
194d72e63e
updated translation base ( #2914 )
...
* 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
* 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>
2022-05-02 10:31:31 +10:00
Oliver Walters
36da363188
Force push translation files
2022-05-02 09:37:33 +10:00
Oliver and GitHub
ef52be82d9
Merge pull request #2913 from matmair/codebase-cleanup
...
Codebase cleanup to python 3.9 / django 3.2
2022-05-02 09:25:52 +10:00
Oliver and GitHub
b59a4d53f0
Merge pull request #2911 from SchrodingersGat/translation-ci
...
Fix CI
2022-05-01 23:51:22 +10:00
Oliver Walters
8635cb8267
Fix CI
2022-05-01 23:21:49 +10:00
Oliver and GitHub
cc42977233
Merge pull request #2910 from SchrodingersGat/translation-ci
...
Translation CI
2022-05-01 23:19:58 +10:00
Oliver and GitHub
2927835a7d
Merge pull request #2909 from SchrodingersGat/settings-bug-fixes
...
Settings bug fixes
2022-05-01 23:17:28 +10:00
Oliver Walters
526571c062
Prevent recursion
2022-05-01 22:50:56 +10:00
Oliver Walters
e3c3ed28da
PEP fixes
2022-05-01 22:46:50 +10:00
Oliver Walters
9e469a949f
Push from latest master to l10 branch
2022-05-01 22:43:25 +10:00
Oliver Walters
8abc96a79a
Ignore .mo files
2022-05-01 22:42:25 +10:00
Oliver Walters
ef530956a8
Run translation as part of the update process
2022-05-01 22:38:18 +10:00
Oliver Walters
0a3613476c
Fix empty translation string
2022-05-01 22:34:03 +10:00
Oliver Walters
d72efc3757
Small tweaks
...
- Factor out native_value property (not needed!)
- PEP fixes
2022-05-01 22:30:24 +10:00
Oliver Walters
f794d91e5c
Adds more unit tests for global settings objects
2022-05-01 22:26:51 +10:00
Oliver Walters
0f8f9f3e5e
Add unit test for integer settings with validator
2022-05-01 22:21:57 +10:00
Oliver Walters
f972551246
Add unit test for multiple-choice setting type
2022-05-01 22:07:16 +10:00
Oliver Walters
eabe082f0a
Add unit tests for boolean user settings (via the API)
2022-05-01 20:23:50 +10:00
Oliver Walters
75fa0bed26
Render "native value" in serializer
2022-05-01 20:13:58 +10:00
Oliver Walters
5d4972d981
Convert settings to 'native' values before running callable valiators
2022-05-01 19:46:17 +10:00
Oliver Walters
3777686c92
503 page was missing inventree_extras
...
(cherry picked from commit 1a8fd7878ea253f7cdfd50f54850827e634fcb0f)
2022-05-01 19:44:52 +10:00
Oliver and GitHub
433ecdb2c3
Merge pull request #2714 from matmair/matmair/issue2694
...
[FR] Add delivery cost (excluding unit cost that already exists) in PO
2022-05-01 10:28:47 +10:00
Oliver and GitHub
937232a238
Merge pull request #2904 from matmair/patch-1
...
Adding permissions to hook
2022-05-01 10:03:19 +10:00
Oliver and GitHub
6497dd7d31
Merge pull request #2779 from rkalman/feat-qr-scanner
...
Camera QR scanner
2022-05-01 09:56:05 +10:00
Oliver and GitHub
d7e9e15c21
Merge pull request #2901 from SchrodingersGat/multi-bom-fix
...
Refactor BOM table to not load multi level BOMs by default
2022-04-29 17:57:33 +10:00
Oliver
35de490f72
JS linting fixes
2022-04-29 17:13:59 +10:00
Oliver
260680c5c4
Refactor BOM table to not load multi level BOMs by default
...
- Click to select which ones to load
2022-04-29 17:07:54 +10:00
Oliver and GitHub
227b3d6aec
Merge pull request #2893 from SchrodingersGat/build-output-table-improvements
...
Build output table improvements
2022-04-29 15:05:52 +10:00
Oliver
1bb2551edb
Fixes for model rendering code
2022-04-29 13:51:49 +10:00
Oliver
94fa424440
Table tweaks
2022-04-29 13:13:12 +10:00
Oliver
a80465e85c
Display batch code in build output table
2022-04-29 13:03:41 +10:00
Oliver
8fc34a21a6
Reload the untracked stock table when allocation actions are performed
2022-04-29 12:59:20 +10:00
Oliver Walters
51da1f02a8
JS linting fixes
2022-04-29 01:58:57 +10:00
Oliver Walters
b595fa0e7e
Fix loading of untracked parts table
2022-04-29 01:40:59 +10:00
Oliver Walters
0bda9c974e
PEP fixes
2022-04-29 01:35:09 +10:00
Oliver Walters
a0ca20ab04
Retrieve all stock item test results at once
2022-04-29 01:27:58 +10:00