Oliver
26eafe242c
Replace PartImageUpload form
2021-06-30 00:18:25 +10:00
Oliver
293b5d4c07
Allow file and image fields
...
- Use FormData class
- Replace existing Company image upload form
2021-06-30 00:13:53 +10:00
Oliver
33ec91acc7
Add "default" from serializer field (if present)
...
- Overrides model default
- Set choices for currency serializer field
- Adds some unit testing
2021-06-29 23:14:39 +10:00
Oliver
8b3a497554
Remove unused Form
2021-06-29 23:05:37 +10:00
Oliver
6156fffd1d
Remove broken URLs
2021-06-29 21:25:20 +10:00
Oliver
170ed37d03
Delete CompanyCreate AJAX view
2021-06-29 21:20:53 +10:00
Oliver
c25967eff6
Replace CompanyCreate and CompanyEdit forms with AJAX form
...
- Adds the ability to specify an "icon" for each field
2021-06-29 21:17:48 +10:00
Oliver
cf0feffe26
Allow override of values from calling function
2021-06-29 20:44:44 +10:00
Oliver
ed2f21f583
Display field prefix element in form
2021-06-28 21:38:42 +10:00
Oliver
ac7564d069
Extract "limit_choices_to" options for relatedfields
...
- Specify as 'filters' for 'related field' type
- Extremely handy to be able to filter AJAX requests in a DRY manner!
2021-06-28 21:29:51 +10:00
Oliver
f3ed05a09e
Automatically associate ''filters' with relations
2021-06-28 20:13:18 +10:00
Oliver
0e9b82c475
Load default values into rendered form
2021-06-27 21:58:22 +10:00
Oliver
d80948369b
Include 'default' value in OPTIONS request for any fields with specified default values
2021-06-27 21:44:21 +10:00
Oliver
67f76c8bca
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-06-27 09:26:23 +10:00
Oliver
04374c71c2
Annotate models with their API list view
...
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver
82a6ff7772
Adds unit testing for fancy new metadata class
2021-06-23 20:58:05 +10:00
Oliver
f0db9bc3d5
Live update of Company image
2021-06-23 19:29:41 +10:00
Oliver
36e6b9f164
Set allow_null flag on image fields
2021-06-23 11:40:37 +10:00
Oliver
a866001ffe
Bump API version to 6
2021-06-23 08:40:51 +10:00
Oliver
878f26c770
Enable upload of company image via the API
2021-06-23 08:39:06 +10:00
Oliver
b8e4b58df0
Catch potential error updating image that does not exist...
2021-06-22 22:23:27 +10:00
Oliver
061a120af2
Merge pull request #1705 from SchrodingersGat/part-validation
...
API Validation fixes
2021-06-22 13:39:05 +10:00
Oliver
979ef674d6
Update data for unit test fixtures
2021-06-22 13:24:03 +10:00
Oliver
40fcfe1f47
Reduce noise in logs
2021-06-22 09:32:36 +10:00
Adam Walsh
d1a2ed9af1
Fix supplier part view/edit without a manufacturer
...
Fixes the following issues when a supplier part was created with an MPN but no manufacturer was assigned:
- Viewing a supplier part stock item
- Editing a supplier part stock item
2021-06-21 11:20:43 -04:00
Oliver
e0e560352e
Add forms / views for ManufacturerPartParameter CRUD
2021-06-21 16:14:58 +10:00
Oliver
70b6a3c13f
Display table of parameters
2021-06-21 00:39:18 +10:00
Oliver
a00441a1c0
Adds API endpoints for ManufacturerPartParameter mdoel
2021-06-21 00:28:28 +10:00
Oliver
0013eb4c23
Adds inline for SupplierPart
2021-06-21 00:03:16 +10:00
Oliver
8188ba86a7
Adds tabular inline class for ManufacturerPartParameter
...
- Super cool!
2021-06-21 00:00:55 +10:00
Oliver
3fcb552759
Register admin class for ManufacturerPartParameter
2021-06-20 23:54:03 +10:00
Oliver
310f369394
Adds admin interface for ManufacturerPart
2021-06-20 23:49:44 +10:00
Oliver
2473318828
Add ManufacturerPartParameter model
2021-06-20 17:50:07 +10:00
Oliver
847d946fa4
Bug fixes
2021-06-20 17:39:00 +10:00
Oliver
3fb57abe66
Error catching
2021-06-18 19:39:06 +10:00
Nigel
f8e4a5ac2e
test: improve coverage of new get_destination
2021-06-09 11:04:42 -06:00
Oliver
573f601752
Merge pull request #1632 from matmair/nav-style
...
same nav sidebar distance for everything
2021-06-06 22:14:20 +10:00
Matthias
0bac7ebf3e
styling
2021-06-05 17:18:46 +02:00
Matthias
05d79a4c19
same nav sidebar distance for everything
2021-06-05 15:18:08 +02:00
Matthias
d87592aedb
use the default currency in forms
2021-06-05 13:22:11 +02:00
eeintech
ffaa6ee3a9
Fixed price break row actions after sorting
2021-06-01 14:22:00 -04:00
Oliver Walters
4520bb7447
PEP style fixes
2021-05-27 16:36:26 +10:00
eeintech
b04ad48178
Fixed test using manual exchange backend, template update
2021-05-25 11:39:04 -04:00
eeintech
bbd95f2c70
Fixed exchange rate backend test
2021-05-20 14:52:56 -04:00
Matthias
0ff7ee21d0
usage of new templates
2021-05-12 15:41:48 +02:00
Matthias
f9f191b5e3
Inclusion in all tamplates
...
#1574
2021-05-12 15:31:35 +02:00
Matthias
5eb1a1f426
fixed styling
2021-05-08 12:32:19 +02:00
Matthias Mair
e59f467c79
Merge branch 'master' into spaces!
2021-05-08 12:27:19 +02:00
Matthias
b09f49aaa5
Merge branch 'master' of https://github.com/inventree/InvenTree into issue1425
2021-05-06 14:54:26 +02:00
Matthias
d5b65e6e41
yaml!
2021-05-06 14:38:13 +02:00
Matthias
a77d9d9de7
same treatment for html
2021-05-06 14:33:03 +02:00
Matthias Mair
39d4129157
chery picked all fixed trans str from #1438 ( #1554 )
2021-05-06 20:29:58 +10:00
Matthias
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Matthias
efa9da2ce1
removed unused imports
2021-05-06 00:00:13 +02:00
Matthias
1a227faec4
abstracting get_price
2021-05-05 23:42:52 +02:00
Oliver
5d214fc869
Merge pull request #1535 from eeintech/get_price
...
Added support for fractional price and lower price break
2021-05-01 09:52:21 +10:00
eeintech
4972440dda
Fixed API test
2021-04-30 15:27:36 -04:00
eeintech
41962ca23a
API fixes related to ManufacturerPart
2021-04-30 13:54:56 -04:00
eeintech
ad8d95f2f0
Added two more tests with fractional quantities
2021-04-29 14:35:23 -04:00
eeintech
87b38ec992
Added support for fractional part/bom quantity and price
2021-04-29 14:22:07 -04:00
Matthias
fc429708f1
[BUG] no attribute MPN
...
Fixes #1524
2021-04-27 21:38:06 +02:00
Oliver Walters
06afd4d726
Refactor "ready" state into a function
2021-04-25 10:52:31 +10:00
Oliver
157d58b157
Merge pull request #1481 from matmair/instance-name-in-title
...
Instance name in title
2021-04-18 21:48:37 +10:00
Matthias
5b9c4dc225
sipler translation strings
2021-04-18 01:21:11 +02:00
Matthias
59063bee6b
extending translations to the whole sentence
2021-04-17 23:52:21 +02:00
Matthias
b1e08dae78
Merge branch 'master' of https://github.com/inventree/InvenTree into instance-name-in-title
2021-04-17 12:19:38 +02:00
Matthias
098ac0c461
using feature in views
2021-04-15 14:52:08 +02:00
eeintech
1e6c6c678f
Split supplier part update migration and added reverse method for manufacturer data
2021-04-13 10:25:53 -04:00
eeintech
3eae70e745
Merged master and company migrations
2021-04-12 11:10:35 -04:00
Oliver Walters
b74d365529
Merge remote-tracking branch 'upstream/master' into django-q
2021-04-10 22:46:20 +10:00
Oliver Walters
e787c853e5
Update logger context
2021-04-10 20:08:13 +10:00
Oliver Walters
e6bd91c9e2
Company description is no longer a required field
2021-04-10 15:29:44 +10:00
eeintech
b5a5f5b409
Simplified stock table view in Part and SupplierPart detail pages
2021-04-08 13:42:35 -04:00
eeintech
f8d1ee8805
Made company description optional
2021-04-08 13:24:17 -04:00
eeintech
ccd35fc4b4
Fixed supplier part list bug and hide manufacturer fields in supplier part edit form
2021-04-07 11:50:11 -04:00
eeintech
63ade51c6c
Updated migrations after merge with master
2021-04-07 10:49:19 -04:00
eeintech
f39928368e
Merge branch 'master' of github.com:inventree/InvenTree into manufacturer_part
2021-04-07 10:33:55 -04:00
eeintech
b2264940a3
Dynamic control of information to make cleaner supplier and manufacturer tables
2021-04-07 09:54:20 -04:00
eeintech
734985faa9
Made manufacturer part ID dynamic for API supplier part create test
2021-04-06 14:53:35 -04:00
eeintech
52b2b9582d
More tests and improved coverage (hopefully)
2021-04-06 14:30:03 -04:00
eeintech
7b4d3a3c07
Added test units for migration and API
2021-04-06 13:16:01 -04:00
eeintech
76fe535ef9
Improved delete form to show supplier parts deletion
2021-04-06 09:32:59 -04:00
eeintech
bd65a42410
Removed global setting for manufacturer parts (enabled for all users)
2021-04-06 08:49:45 -04:00
eeintech
fd66e8b136
Added MPN link to supplier part list
2021-04-05 15:41:18 -04:00
eeintech
547dcc6e80
Deleted manufacturers tab from supplier detail page
2021-04-05 15:19:34 -04:00
eeintech
58ddc47065
Updated migration files to handle duplicate manufacturer data
2021-04-05 11:21:34 -04:00
Matthias
efd14fca64
made translation lazy
2021-04-04 22:47:01 +02:00
Matthias
20c455384e
added more translation-strings
2021-04-04 22:44:14 +02:00
Matthias
c68220a597
migrations for all the translated models, totally forgot that
2021-04-03 14:11:28 +02:00
Matthias
0547e1c03b
added more translations in html / js
2021-04-03 04:05:59 +02:00
Matthias
446bc06c1b
switched translation methode to lazy
2021-04-03 04:01:40 +02:00
Matthias
2de6fcbfa4
added missing translation fields #753
2021-04-03 03:59:09 +02:00
eeintech
45ca8d0e93
Fixes to the way ManufacturerPart is saved, manufacturer table filtering and test units
2021-04-02 11:13:57 -04:00
eeintech
bb69e38c1a
Simple and View test units
2021-04-01 16:30:06 -04:00
eeintech
94574b37ae
Added Manufacturer parts to search, fixed icons, added manufacturer view in supplier part detail page
2021-04-01 10:00:15 -04:00
eeintech
a8b858c824
Fixed serializer
2021-04-01 09:11:47 -04:00
eeintech
8c8b25a0d2
Validating API for SupplierPart, not able to spin-off ManufacturerPart from serialized data
2021-03-31 18:04:28 -04:00
eeintech
9e56bf90c5
More web testing, looks ready
2021-03-31 13:53:55 -04:00
eeintech
0b1f22c7fd
Almost there, needs some interface testing and tweaking
2021-03-30 18:08:33 -04:00
eeintech
9c8817d73b
Fixed serializers and started update of templates
2021-03-30 16:48:16 -04:00