2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00
Commit Graph

2607 Commits

Author SHA1 Message Date
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
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
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
9e1d8e52f3 Merge pull request #2805 from matmair/matmair/issue2385
Plugins for notifications
2022-05-06 20:00:56 +10:00
1b7172b57e Merge pull request #2936 from matmair/test_tags
Test more templatetags
2022-05-06 12:16:14 +10:00
09ceada639 fix test assertation 2022-05-06 03:03:08 +02:00
2261e7a615 PEP fix 2022-05-06 02:20:38 +02:00
33e3385830 fix assertations 2022-05-06 02:17:53 +02:00
20d552f809 extend tag tests 2022-05-06 02:13:25 +02:00
0eff4a4526 can not be covered in testing 2022-05-06 02:07:59 +02:00
1676cb8eb8 fix error with anon connections and language check 2022-05-06 00:13:58 +02:00
28b8e27698 Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-06 00:11:38 +02:00
fe4b264ae1 Fix user check 2022-05-06 00:11:26 +02:00
6bd997ffad Merge branch 'inventree:master' into matmair/issue2385 2022-05-05 11:26:25 +02:00
1dee578907 Merge pull request #2931 from SchrodingersGat/more-api-functionality
Converting more forms to the API
2022-05-04 23:24:28 +10:00
a6bede877a Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 15:11:56 +02:00
82541ede32 More unit tests
- BuildOrderCancel
- StockItemInstall
- StockItemUninstall
2022-05-04 22:49:21 +10:00
1a3d482e42 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2788 2022-05-04 12:33:21 +02:00
cf93ba7cf9 Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
5cf30a850d Prune a lot of dead code 2022-05-04 17:01:19 +10:00
f0e8e32c8a More refactoring 2022-05-03 17:27:21 +10:00
e7b189ba29 fix templates 2022-05-02 22:41:24 +02:00
4125803e6d Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
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
de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
67ab45bdee update depreciated paths 2022-05-01 22:00:18 +02:00
d05472b30c upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
c18579088a Merge branch 'inventree:master' into matmair/issue2385 2022-04-30 19:53:32 +02:00
6538ab86cb Bug fix for 'required' filter in PartTestTemplate API 2022-04-28 16:25:04 +10:00
e9500e4981 Merge pull request #2892 from SchrodingersGat/build-allocation-fix
Fix part allocation check
2022-04-28 15:21:02 +10:00
aec10e0cc7 Fix part allocation check 2022-04-28 14:58:05 +10:00
37e74074dd Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
fc4de6c7b8 Remove other demo references 2022-04-27 22:00:58 +10:00
090445f2c3 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-04-27 21:45:08 +10:00
6c23c94700 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2301 2022-04-27 13:13:04 +02:00
f98225334e Simplify allocation display for part page 2022-04-27 15:36:44 +10:00
b8ca7fb092 Merge remote-tracking branch 'inventree/master' into order-parts-wizard
# Conflicts:
#	InvenTree/templates/js/translated/model_renderers.js
2022-04-26 21:22:31 +10:00
0b51ca2902 PEP fixes 2022-04-26 19:54:16 +10:00
7db11b627b Refactor PartSalePriceBreak and PartInternalPriceBreak tables to use the API
- Remove old server-side views
- Simplify code
2022-04-26 19:53:09 +10:00
cb12222e17 Re-enable the "pricing" tab
- Previously was gated entirely on the "PART_SHOW_PRICE_HISTORY" setting
2022-04-26 19:23:41 +10:00
4c6c618af6 Merge pull request #2874 from SchrodingersGat/auto-allocate-fix
Prevent inactive or trackable parts from being 'auto allocated'
2022-04-26 18:48:16 +10:00
3ef0386593 Prevent inactive or trackable parts from being 'auto allocated' 2022-04-26 17:14:47 +10:00
ee47be4c9e Add unit test for 'available_variant_stock' in BomItem API serializer 2022-04-26 17:05:21 +10:00
7aaa4a5812 add unit tests for new variant_stock annotations 2022-04-26 16:39:03 +10:00
d4fc4bb8bd Merge branch 'master' into variant-available
# Conflicts:
#	InvenTree/InvenTree/api_version.py
2022-04-26 16:21:53 +10:00
70d4960fa3 Add new unit tests for part API filters 2022-04-26 11:43:34 +10:00
693e47ab89 Remove outdated filter_fields variable 2022-04-26 11:02:22 +10:00
e1e0432963 Adds 'variant_of' filter back into Part API 2022-04-26 10:57:43 +10:00
1bce7b745e add custom logo option 2022-04-24 16:13:44 +02:00
1127bf2497 make it possible to resitrict the about modal 2022-04-24 01:02:41 +02:00