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

58 Commits

Author SHA1 Message Date
2ea1e72c44 Update company API
- option to include manufacturer_detail
- improve company serializer
2020-04-13 17:37:44 +10:00
acebe61ac5 Add 'manufacturer' field to SupplierPart object
- ForeignKey link to Company model
2020-04-13 16:41:17 +10:00
e9e734acce Rename "manufacturer" to "manufacturer_name" 2020-04-13 13:29:17 +10:00
f427ee4754 Improvements to company API
- Filter by is_manufacturer
- Better table display
2020-04-13 12:16:42 +10:00
fd45db9e22 Add "is_manufacturer" field to company model 2020-04-13 09:21:59 +10:00
d06018cbbe PEP fixes 2020-04-07 11:40:10 +10:00
95032141ce Toot toot! It's the refactor tractor.
- Create helper functions to qualify media and static files
2020-04-07 11:38:57 +10:00
ae9ef04013 Use the company thumbnail in the Company API 2020-04-07 11:27:56 +10:00
e0655f61d8 Check if Company thumbnails are created on Company app start 2020-04-07 11:23:30 +10:00
1a233e7949 Create thumbnails for Company model 2020-04-07 11:17:00 +10:00
a306ad0bc3 Alter "URL" to "link" for Company models 2020-04-06 11:36:25 +10:00
6731bc1b06 Implement auto-rounding decimal field
Ref: https://stackoverflow.com/questions/37958130/automatically-round-djangos-decimalfield-according-to-the-max-digits-and-decima
2020-03-18 22:22:40 +11:00
ca9f9e047c Make company notes field markdownable 2020-02-01 23:31:45 +11:00
5e9b012031 Bug fix for static lookup of blank image 2019-12-09 20:40:04 +11:00
98374ca466 Update to more recent libraries
- Specify exact module versions
2019-12-05 14:12:05 +11:00
381becef79 Convert some more fields to decimal
- purchase order line item quantity
- purchase order line item received
2019-11-19 10:30:04 +11:00
70e07470db Custom URL validators for more fields 2019-09-14 00:08:49 +10:00
91453094aa Remove lead-time field 2019-09-12 22:37:09 +10:00
09cb82cdc0 Fix converted_cost
- Incompatibility between float and decimal
2019-09-03 09:46:32 +10:00
c6a435eba0 Add currency field to SupplierPriceBreak 2019-09-03 09:34:32 +10:00
0fa8e3809e Limit PO selection to only those which are PENDING 2019-06-15 15:33:03 +10:00
d8d41c6eff PEP fixes 2019-06-10 23:08:08 +10:00
c132f275f5 Split display of purchase orders by company view 2019-06-10 22:43:09 +10:00
9efdd836f4 Tweak the 'on_order' calculation 2019-06-10 21:56:50 +10:00
351c5fb7d0 Fix for 'on_order' calculation
- Handle null results
2019-06-07 09:54:36 +10:00
31ad31365a Calculate parts on order for a Part / SupplierPart 2019-06-07 08:37:25 +10:00
67248ec4dd List purchase orders for a given part 2019-06-05 21:47:22 +10:00
e199ed2281 PEP fixes 2019-06-05 00:21:19 +10:00
76a72be926 Add order status field
- Display status field in PurchaseOrder list view
2019-06-04 23:09:51 +10:00
c45a506a10 Rename field part.has_variants to part.is_template 2019-05-25 23:58:31 +10:00
c3d75deb16 More 'limit_choices_to' limitations for template parts 2019-05-25 23:55:16 +10:00
cd7bc6cce5 Include pricing information in part supplier view
Also some CSS tweaks to secondary modal buttons
2019-05-22 22:11:27 +10:00
6f73c379c2 Remove 'minimum' order from SupplierPart
- This can be handled using the 'PriceBreak' set
2019-05-21 13:51:43 +10:00
6ae48d07c4 Cleanup pricing algorithms 2019-05-20 23:53:39 +10:00
4c82714777 Allow 5 decimal places for pricing info 2019-05-18 23:08:47 +10:00
a3d1591929 Display part pricing in Part view
- Calculate min_price and max_price based on provided supplier information
2019-05-18 23:08:38 +10:00
0cfb243eb3 Move SupplierPart and SupplierPriceBreak to the 'Company' app
- https://docs.djangoproject.com/en/2.2/ref/models/options/#django.db.models.Options.db_table
- https://stackoverflow.com/questions/3519143/django-how-to-specify-a-database-for-a-model
- And others, presumably
2019-05-18 23:08:34 +10:00
7ef448d205 PEP 2019-05-16 21:26:53 +10:00
64a82389a2 Add ability for Company model to count stock sourced from that supplier 2019-05-16 21:26:12 +10:00
01778f996e PEP fixes 2019-05-10 20:12:15 +10:00
ba2f565e35 docstring improvements
- Added Attribute docstring to all model objects
2019-05-10 20:11:52 +10:00
fa2bf947ab Merge pull request #267 from SchrodingersGat/bom-img
BOM table improvements
2019-05-09 00:42:33 +10:00
94ad378b9d Part and company images return the 'no image found' image if they do not have an image 2019-05-09 00:39:51 +10:00
e9c904076f Added help text for model fields 2019-05-08 23:32:57 +10:00
58e5b10d26 Display supplier logo in part suppliers list
- Also add a background colour for popup image in case of transparent image file
2019-05-08 20:23:54 +10:00
4ef1e4fc78 Explicitly mark some CharField as non blank 2019-05-04 17:01:31 +10:00
c3f0570926 Add docstring to Company app 2019-04-27 20:43:27 +10:00
a2d4403968 Reverse lookup for company URL
- Added some simple tests
2019-04-24 23:55:11 +10:00
ac3a4e3de4 PEP fixes for /company 2019-04-14 09:30:45 +10:00
7644617af0 Better string formatting for models
Allows for easier searching in drop-downs for ForeignKeys
2018-05-09 00:17:39 +10:00