Commit Graph

21 Commits

Author SHA1 Message Date
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 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 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 4ef1e4fc78 Explicitly mark some CharField as non blank 2019-05-04 17:01:31 +10:00
Oliver Walters c3f0570926 Add docstring to Company app 2019-04-27 20:43:27 +10:00
Oliver Walters a2d4403968 Reverse lookup for company URL
- Added some simple tests
2019-04-24 23:55:11 +10:00
Oliver Walters ac3a4e3de4 PEP fixes for /company 2019-04-14 09:30:45 +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 feff4f0ddd Add 'Contact' model to Company app 2018-04-30 17:20:01 +10:00
Oliver 1df1bf2c07 Added 'URL' field to company 2018-04-24 18:01:15 +10:00
Oliver 08ed128bea PEP style fixes 2018-04-23 21:18:35 +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 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