Oliver Walters
5043c354b1
Set default value for SupplierPriceBreak
...
Edit or Delete a SupplierPriceBreak
2019-05-18 23:08:30 +10:00
Oliver Walters
fc3072a459
Form for creating a new price break for a supplier part
2019-05-18 23:08:25 +10:00
Oliver Walters
b77b6d2256
Display number of supplier parts in supplier list
2019-05-16 22:29:39 +10:00
Oliver Walters
0a1887477c
Create template for stock table
2019-05-16 22:15:44 +10:00
Oliver Walters
7ef448d205
PEP
2019-05-16 21:26:53 +10:00
Oliver Walters
64a82389a2
Add ability for Company model to count stock sourced from that supplier
2019-05-16 21:26:12 +10:00
Oliver Walters
1b06cd23af
Add 'stock' tab for supplier page
2019-05-16 21:16:19 +10:00
Oliver Walters
292e29e95e
Add some more secondary modals
2019-05-15 07:50:54 +10:00
Oliver Walters
a1d587b7f4
Rename 'Company' to 'Suppliers' in front-end
2019-05-15 07:44:13 +10:00
Oliver Walters
fcdddf6bb6
Cleaup for delete supplier part form
2019-05-13 22:52:20 +10:00
Oliver Walters
0e0096467c
Update delete form for Company objects
2019-05-13 22:50:05 +10:00
Oliver Walters
d5dbc1b072
Display supplier part URL in table
2019-05-12 12:20:15 +10:00
Oliver Walters
1d36ea3e2e
Add a 'full_name' field for Part
...
- Combines IPN | Name | Variant
- Use this to display in most views
2019-05-12 12:16:04 +10:00
Oliver Walters
01778f996e
PEP fixes
2019-05-10 20:12:15 +10:00
Oliver Walters
ba2f565e35
docstring improvements
...
- Added Attribute docstring to all model objects
2019-05-10 20:11:52 +10:00
Oliver Walters
ca6bd0a999
Add page title for company page
2019-05-09 18:17:28 +10:00
Oliver Walters
15cd93a773
Display company thumb in company index
2019-05-09 00:49:19 +10:00
Oliver
fa2bf947ab
Merge pull request #267 from SchrodingersGat/bom-img
...
BOM table improvements
2019-05-09 00:42:33 +10:00
Oliver Walters
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
Oliver Walters
e9c904076f
Added help text for model fields
2019-05-08 23:32:57 +10:00
Oliver Walters
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
Oliver Walters
0754afd5f5
Display icons in supplier_part list
...
- Bug fix for part list API query
2019-05-08 20:16:53 +10:00
Oliver Walters
e58bed41b0
Visual style improvements
2019-05-07 21:24:09 +10:00
Oliver Walters
dcbd5d819c
Enable DnD for Company image
...
- Can actually use the existing form to do partial upload!
- Generecise the drag-and-drop upload function
- Remove some (now unnecessary) Python View code
2019-05-07 14:47:31 +10:00
Oliver Walters
a03027ec9b
Add makefile option for quick backup
2019-05-07 07:46:29 +10:00
Oliver Walters
4ef1e4fc78
Explicitly mark some CharField as non blank
2019-05-04 17:01:31 +10:00
Oliver Walters
2eb825b0e6
Improved table rendering
2019-05-04 00:02:53 +10:00
Oliver Walters
08b429fdb8
SupplierPart detail page now splits details into two columns
...
- Price details in right-hand column
2019-05-02 01:15:26 +10:00
Oliver Walters
436d158cfe
Merge remote-tracking branch 'inventree/master' into build-allocation
...
# Conflicts:
# InvenTree/company/templates/company/tabs.html
2019-05-01 08:15:58 +10:00
Oliver Walters
7e7ac60a1a
Tweaks
...
- Can't edit build status directly
- Refresh BOM table on reload
- Hide Company tabs that are not yet functional
2019-04-30 20:55:28 +10:00
Oliver Walters
3b838d29ec
Small fixes
...
- Hide some tabs that aren't functional yet
- Hide fields instead of marking them as disabled
- Default behaviour is to allow all hosts
2019-04-29 18:35:16 +10:00
Oliver Walters
d55ea1a982
PEP fixes
2019-04-28 01:09:48 +10:00
Oliver Walters
aa04941bf1
Add module-level docstrings for each app
2019-04-28 01:05:45 +10:00
Oliver Walters
a499fd325e
Docstring for Stock app
2019-04-27 22:49:16 +10:00
Oliver Walters
ed3ae30248
Documentation for Part app
2019-04-27 22:18:07 +10:00
Oliver Walters
c3f0570926
Add docstring to Company app
2019-04-27 20:43:27 +10:00
Oliver Walters
0484e62836
PEP fixes
2019-04-27 15:25:40 +10:00
Oliver Walters
1fbea088dc
Added API test for Company app
2019-04-27 15:02:20 +10:00
Oliver Walters
08aca6a5a8
Fix rendering for company part list
2019-04-26 23:08:13 +10:00
Oliver Walters
9ae5ea3876
Add RUD endpoint for Company
2019-04-26 21:44:38 +10:00
Oliver Walters
3c40418f04
100% coverage on company/models.py
2019-04-25 04:20:40 +10:00
Oliver Walters
7b68310d73
PEP fixes
2019-04-25 03:20:25 +10:00
Oliver Walters
a2d4403968
Reverse lookup for company URL
...
- Added some simple tests
2019-04-24 23:55:11 +10:00
Oliver Walters
41ee6320a8
Delete some other old templates
2019-04-18 23:44:15 +10:00
Oliver Walters
4f51258cf8
Removed old forms in Part
2019-04-18 23:39:05 +10:00
Oliver Walters
e57303ed37
Removed old forms from Company
2019-04-18 23:35:20 +10:00
Oliver Walters
52c3a63c61
Updated SupplierPriceBreak page
2019-04-17 00:48:01 +10:00
Oliver Walters
29f33a8eec
Move button locations into bootstrap-table headers
...
- part category
- stock location
- build list
- company list
- supplier part list
2019-04-16 11:46:07 +10:00
Oliver Walters
ac3a4e3de4
PEP fixes for /company
2019-04-14 09:30:45 +10:00
Oliver Walters
8a3706dd76
Added MPN field to supplier part lists
2019-04-12 21:54:53 +10:00
Oliver Walters
7341fe4542
Fix modal form for creating company
2019-04-12 21:09:31 +10:00
Oliver
7644617af0
Better string formatting for models
...
Allows for easier searching in drop-downs for ForeignKeys
2018-05-09 00:17:39 +10:00
Oliver
233f093093
Update supplier part detail page
...
- Consolidated buttons into dropdown
- Make look like other pages
2018-05-09 00:12:21 +10:00
Oliver
3f1c6e2059
Simplified modal calls
...
- Default modal target supplied (can be overridden in options)
2018-05-08 19:55:39 +10:00
Oliver
c5155d5ac7
Move modal JS file
...
- Loaded by base.
2018-05-08 19:40:29 +10:00
Oliver
e746ca6e0a
Paginate company page
2018-05-07 18:16:12 +10:00
Oliver
c1e7e95fc0
UI improvements
...
Consolidated detail pages with OPTIONS drown down
(rather than multiple single buttons)
2018-05-06 22:09:15 +10:00
Oliver
395bf23d6c
Cleanup / formatting
2018-05-04 01:33:13 +10:00
Oliver
9ad20e85e3
Improve CSS for modal forms
2018-05-04 00:56:29 +10:00
Oliver
17e6147c47
Click on company image to edit it
2018-05-03 23:57:00 +10:00
Oliver
f995f54390
More API / JSON stuff
...
- SupplierPart JSON API
- Part supplier list
- Company part list
2018-05-03 00:47:03 +10:00
Oliver
be0797c6e6
Bootstrap table to company list
2018-05-02 23:17:24 +10:00
Oliver
211edb23bb
Removed footable
...
- Now using bootstrap-table
2018-05-02 22:22:43 +10:00
Oliver
feff4f0ddd
Add 'Contact' model to Company app
2018-04-30 17:20:01 +10:00
Oliver
bee760d184
Deleted extraneous form code
2018-04-30 00:59:36 +10:00
Oliver
a9c20f5d95
Added modal form success messages
...
- More to be done, just a start
- Create / edit / delete
2018-04-30 00:23:02 +10:00
Oliver
095492203f
Simplified javascript templating
...
- Load js modules in block js_load
- Write $(document).ready script in block js_ready
- Write any other js in block_js
2018-04-28 12:45:12 +10:00
Oliver
bc597d7c21
Style fixes
2018-04-28 01:16:47 +10:00
Oliver
3de80fe059
Modalized 'new-supplier-part' from supplier page
2018-04-27 22:14:25 +10:00
Oliver
4794714a09
Modal form for company-delete
2018-04-27 22:07:11 +10:00
Oliver
36cf946a78
Modal for company create
...
- Ajax modals now return the URL of the item they are operating on
- passing {follow: true} to the modal caller will go to that URL on success
- footable'd company list
2018-04-27 21:58:22 +10:00
Oliver
c4e305bde6
Loaded both modals into single include
2018-04-27 21:35:36 +10:00
Oliver
e1e3cc71e6
More modal forms
...
- supplier-part-edit
- supplier-part-delete
2018-04-27 21:32:48 +10:00
Oliver
1df1bf2c07
Added 'URL' field to company
2018-04-24 18:01:15 +10:00
Oliver
25fcd3e9f1
Simple search filtering for part list
...
- Needs to be 'generecised'
- Working well for now
2018-04-24 09:06:30 +10:00
Oliver
08ed128bea
PEP style fixes
2018-04-23 21:18:35 +10:00
Oliver
86a9b36c99
Add part-list API
...
- Deleted some old serializers
- Simply list of parts
- Search by name / description
- Orderable by name
2018-04-23 21:10:13 +10:00
Oliver
f1a5b3c1ca
Add AJAX filtering of company list
...
- Search across NAME and DESCRIPTION fields
- TODO - Implement pagination (how?)
2018-04-23 20:37:36 +10:00
Oliver
6c1784b5b9
Implement (basic) JSON API for company model
...
- Pagination
- Search company name and description
- Filter by is_customer and is_supplier
2018-04-23 19:46:40 +10:00
Oliver
97f05f85de
Added TODO entry
2018-04-22 23:16:12 +10:00
Oliver
ac3de4ce3d
Add part detail page for company / supplier
2018-04-22 23:07:23 +10:00
Oliver
4ebd8cd6b1
Added company details tab
2018-04-22 22:44:49 +10:00
Oliver
d44a4e174b
Added 'tabs' to company view
2018-04-22 22:38:35 +10:00
Oliver
ee2f262e19
Company index / detail / edit pages working
2018-04-22 22:21:50 +10:00
Oliver
4bedf0ed4c
Finally got migrations working together
2018-04-22 21:54:12 +10:00
Oliver
cef3c664f9
Moving 'supplier' to 'company'
2018-04-19 09:01:25 +10:00