Matthias
752b70c1f7
Add "last updated" field to supplier price break
...
Add model
Fixes #1697
2022-03-14 23:22:29 +01:00
Matthias
d884e62be1
[FR] Confirm to W293
...
Fixes #2335
2021-11-23 00:28:23 +01:00
eeintech
6e31a8111b
Fix plural name for Companies in Admin interface
2021-10-04 15:57:07 -04:00
eeintech
91e314ddb5
Only connect ManufacturerPart if a. it exists b. SupplierPart is not yet connected
2021-08-11 17:08:46 -04:00
eeintech
a2590f1a3b
Merged master
2021-08-11 16:16:20 -04: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
eeintech
1bf49a1458
Re-added ability to link manufacturer part to supplier part via API
2021-08-05 14:06:31 -04:00
Oliver Walters
0c91691ed2
Refactor SupplierPartEdit and SupplierPartDelete forms
2021-07-18 22:46:23 +10:00
Oliver Walters
56fa6c512b
Refactor SupplierPartCreate form
2021-07-18 22:21:11 +10:00
eeintech
3d9ad24e27
Defined custom SupplierPart object manager and prefetch related models in all queries
2021-07-13 12:55:36 -04:00
Oliver
2ff9b23647
Fixes for company serializer
2021-07-02 22:02:18 +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
04374c71c2
Annotate models with their API list view
...
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver
2473318828
Add ManufacturerPartParameter model
2021-06-20 17:50:07 +10:00
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
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
efa9da2ce1
removed unused imports
2021-05-06 00:00:13 +02:00
1a227faec4
abstracting get_price
2021-05-05 23:42:52 +02:00
eeintech
87b38ec992
Added support for fractional part/bom quantity and price
2021-04-29 14:22:07 -04:00
fc429708f1
[BUG] no attribute MPN
...
Fixes #1524
2021-04-27 21:38:06 +02:00
eeintech
3eae70e745
Merged master and company migrations
2021-04-12 11:10:35 -04:00
Oliver Walters
e6bd91c9e2
Company description is no longer a required field
2021-04-10 15:29:44 +10:00
eeintech
f8d1ee8805
Made company description optional
2021-04-08 13:24:17 -04:00
eeintech
f39928368e
Merge branch 'master' of github.com:inventree/InvenTree into manufacturer_part
2021-04-07 10:33:55 -04:00
20c455384e
added more translation-strings
2021-04-04 22:44:14 +02:00
446bc06c1b
switched translation methode to lazy
2021-04-03 04:01:40 +02:00
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
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
eeintech
811f9333e8
SupplierPart manufacturer data is not serializing
2021-03-30 13:55:20 -04:00
eeintech
a4d098194b
New SupplierPart manufacturer_part field
...
New migration file with database update to manufacturer parts
Removed SourceItem model
2021-03-30 13:14:30 -04:00
eeintech
50adb2ac61
SourceItem only for SupplierPart, added logic to templates
2021-03-29 15:39:25 -04:00
eeintech
e6dfb7da52
Added global setting to enable manufacturer parts
...
Created SourceItem model
Updated templates
2021-03-29 13:22:15 -04:00
eeintech
afd2dacfc7
Can now create, view list of parts and view detail page
2021-03-24 11:44:51 -04:00
eeintech
e28dde7f7b
Fixed navbar, added missing template and urls
2021-03-23 17:45:03 -04:00
eeintech
08ffbee8ed
Fixed model name and added to part navbar
2021-03-23 17:33:29 -04:00
eeintech
e897864396
Added ManufacturerPart model, form and views
2021-03-23 17:01:54 -04:00
Oliver Walters
2a91bb0c87
Update SupplierPart model to allow data importing
...
- django-import-export plugin seems to require null=True for char fields
- yes, this goes against django "best practice"
- Hopefully a better solution can be found
2021-01-03 22:16:32 +11:00
Oliver Walters
47cbf3071d
Add option to add a single-quantity price-break when creating a new SupplierPart object
...
- Add unit testing!
2020-11-12 21:36:32 +11:00
Oliver Walters
51d2d85c26
When creating a new price break for a supplier part, default to using the currency code specified for the supplier company
2020-11-12 11:14:50 +11:00
Oliver Walters
1532be9c1e
Add 'currency' option for company
...
- e.g. an external supplier might have a default currency
- Adds a form input which only allows selection of allowed currency codes
- Add unit testing for currency validation
2020-11-12 11:02:10 +11:00
Oliver Walters
4dff18e4a6
Remove common_currency model entirely
...
- A lot of views / pages / etc needed to be updated too
- Now uses django-money fields entirely
- Create a manual rate exchange backend (needs more work!)
2020-11-11 00:21:06 +11:00
eeintech
5793839a01
Added UniqueConstraint on name/email pair, renamed migration file
2020-10-20 07:37:07 -05:00