Oliver Walters
551064b3a4
Bugfix: BOM API now works slightly differently
2020-10-29 00:07:51 +11:00
Oliver Walters
544b63cac5
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
2020-10-29 00:01:10 +11:00
Oliver Walters
4a7e9a2278
Update translations and PEP fixes
2020-10-28 23:59:18 +11:00
Oliver Walters
ed8be5225d
Simplify display of possible conflicting parts
...
- Round to single digit
- Only show 5 closest matches
2020-10-28 23:48:35 +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
6dc5ef0cdc
Merge pull request #1085 from SchrodingersGat/more-icons
...
More template updates
2020-10-28 23:29:15 +11:00
Oliver Walters
d8ada930c8
More template updates
...
- Add icons to more action buttons
2020-10-28 22:37:58 +11:00
Oliver Walters
d06b4d7c9f
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/InvenTree/urls.py
# InvenTree/locale/de/LC_MESSAGES/django.mo
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/part/templates/part/bom.html
# InvenTree/templates/js/build.js
# InvenTree/templates/js/table_filters.js
# InvenTree/templates/stock_table.html
# tasks.py
2020-10-28 22:25:14 +11:00
Oliver
c8ec55a5fe
Merge pull request #1084 from SchrodingersGat/used-in-table
...
Used in table
2020-10-28 21:21:44 +11:00
Oliver Walters
44010fe05b
Translation updates
2020-10-28 18:30:50 +11:00
Oliver Walters
d0b7d91ca4
Update multiple templates with fontawesome icons
2020-10-28 18:30:38 +11:00
Oliver Walters
d272eec384
Update translation files
2020-10-28 18:13:19 +11:00
Oliver Walters
5e70d8df7e
Rename javascript files from .html to .js
2020-10-28 18:13:02 +11:00
Oliver Walters
c63480c65b
Improve table for displaying what parts a particular part is "used in"
2020-10-28 18:12:38 +11:00
Oliver Walters
3ec2396ec1
Updated allocation card view
2020-10-27 23:33:51 +11:00
Oliver Walters
22a5f921b8
Auto-generate build outputs when a build is created
2020-10-27 23:09:17 +11:00
Oliver Walters
170d55d64e
Add custom form validation step
2020-10-27 22:52:01 +11:00
Oliver Walters
4055a36db2
Updated modal forms
2020-10-27 22:29:34 +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
Oliver Walters
54d5d2899e
Update javascript callbacks
2020-10-27 21:47:24 +11:00
Oliver
43907fb129
Merge pull request #1082 from jnewlands/typo_fix_external_link
...
Fix typo in new / edit part forms ("extenel URL")
2020-10-27 16:43:14 +11:00
James Newlands
c61eeca3e4
Even though nothing happened to the database schema, the field description changed
2020-10-27 15:58:05 +11:00
James Newlands
8bf281e153
Fix typo in new / edit part forms ("extenel URL")
...
Capitalisation consistency in "Create New Part" form title
2020-10-27 14:52:31 +11:00
Oliver Walters
06a3899325
Disable "unallocate" button if there are not any allocations
2020-10-27 09:26:16 +11:00
Oliver Walters
b5e1d3f87a
Sorter fixes
2020-10-27 08:58:29 +11:00
Oliver
9ed787b4da
Merge pull request #1077 from SchrodingersGat/custom-tag-fix
...
Bug fix - re-introduce settings_value custom tag
2020-10-27 07:49:12 +11:00
Oliver Walters
4167e1fdb3
Update translation files
2020-10-26 22:51:57 +11:00
Oliver Walters
210d39c8b7
Bug fix - re-introduce settings_value custom tag
...
(cherry picked from commit 9203f541be
)
2020-10-26 22:44:49 +11:00
Oliver Walters
d8a0ab8879
Fix for build table
2020-10-26 22:44:24 +11:00
Oliver Walters
9203f541be
Bug fix - re-introduce settings_value custom tag
2020-10-26 22:44:16 +11:00
Oliver Walters
a4f6efc05d
Merge remote-tracking branch 'inventree/master' into build-fixes
...
# Conflicts:
# InvenTree/locale/de/LC_MESSAGES/django.po
# InvenTree/locale/en/LC_MESSAGES/django.po
# InvenTree/locale/es/LC_MESSAGES/django.po
# InvenTree/templates/js/build.html
2020-10-26 22:38:43 +11:00
Oliver Walters
b38fde85f2
Added some more buttons, etc
2020-10-26 22:34:40 +11:00
Oliver Walters
5e0d1fe25a
Allocate "non tracked" parts separately from tracked ones
2020-10-26 18:21:45 +11:00
Oliver Walters
7525bc2ead
Attachment functionality for BuildOrder
2020-10-26 17:00:31 +11:00
Oliver Walters
664dd0000c
Add database table for storing file attachments against a BuildOrder
2020-10-26 15:21:03 +11:00
Oliver Walters
8f108d42d2
Add ability to filter BOM status by "validated" field
2020-10-26 14:43:43 +11:00
Oliver Walters
24ab48ef4c
Filter BOM table by "trackable" status
2020-10-26 13:53:34 +11:00
Oliver Walters
1a4eb3f870
Display which parts are "trackable" in a BOM table
2020-10-26 13:24:17 +11:00
Oliver Walters
815d4bf7eb
Add new template_tag for defining variables
2020-10-26 09:11:25 +11:00
Oliver Walters
ffe15763a7
Update validation "rules" for BuildItem
...
- A BuildItem which points to a trackable part must also point to a build output
- A BuildItem which points to a non-trackable part cannot point to a build output
2020-10-26 08:34:17 +11:00
Oliver Walters
6aaf178f0b
Check "trackable" status of part
...
- Where a BomItem connects a trackable sub_part with a non-trackable part, force the Part to be trackable
2020-10-26 08:29:06 +11:00
Oliver
720579dcd7
Merge pull request #1070 from SchrodingersGat/global-settings
...
Global settings
2020-10-25 22:22:57 +11:00
Oliver Walters
e978e1df52
Style fixes
2020-10-25 22:11:24 +11:00
Oliver Walters
5908890726
Create setting if it does not exist
2020-10-25 22:07:11 +11:00
Oliver Walters
549f50ac3f
Update translations
2020-10-25 21:54:53 +11:00
Oliver Walters
9284837da8
Bug fixing
2020-10-25 21:45:37 +11:00
Oliver Walters
7d95faa4f5
Cleanup code
2020-10-25 21:43:33 +11:00
Oliver Walters
432ecc1d96
Display boolean values as checkboxes
2020-10-25 21:33:13 +11:00
Oliver Walters
3a325399c6
Use a checkbox input when editing a boolean setting
2020-10-25 21:00:06 +11:00
Oliver Walters
f1e8afa314
Add boolean validator
2020-10-25 09:36:58 +11:00