InvenTree/InvenTree/company/migrations
Oliver 303305e05f
Fix constraint for address model (#5076)
* Fix constraint for address model

- Do not handle at database level
- Add a "validate_unique" method to the address model
- Fixes https://github.com/inventree/InvenTree/issues/5070

* Remove unique constraint rule

* Unit test fix

- Adjust unit test around new code

* Further unit test updates
2023-06-20 16:57:20 +10:00
..
0001_initial.py AND AGAIN 2019-05-20 22:24:18 +10:00
0002_auto_20190520_2204.py AND AGAIN 2019-05-20 22:24:18 +10:00
0003_remove_supplierpart_minimum.py Remove 'minimum' order from SupplierPart 2019-05-21 13:51:43 +10:00
0004_auto_20190525_2354.py More 'limit_choices_to' limitations for template parts 2019-05-25 23:55:16 +10:00
0005_auto_20190525_2356.py Rename field part.has_variants to part.is_template 2019-05-25 23:58:31 +10:00
0006_supplierpricebreak_currency.py Add currency field to SupplierPriceBreak 2019-09-03 09:34:32 +10:00
0007_remove_supplierpart_lead_time.py Remove lead-time field 2019-09-12 22:37:09 +10:00
0008_auto_20190913_1407.py Custom URL validators for more fields 2019-09-14 00:08:49 +10:00
0009_auto_20191118_2323.py Convert some more fields to decimal 2019-11-19 10:30:04 +11:00
0010_auto_20200201_1231.py Remove reliance on django-markdownx (#3231) 2022-06-20 22:20:04 +10:00
0011_auto_20200318_1114.py Implement auto-rounding decimal field 2020-03-18 22:22:40 +11:00
0012_auto_20200318_1114.py Implement auto-rounding decimal field 2020-03-18 22:22:40 +11:00
0013_auto_20200406_0131.py Alter "URL" to "link" for Company models 2020-04-06 11:36:25 +10:00
0014_auto_20200407_0116.py Create thumbnails for Company model 2020-04-07 11:17:00 +10:00
0015_company_is_manufacturer.py Add 'manufacturer' field to SupplierPart object 2020-04-13 20:20:04 +10:00
0016_auto_20200412_2330.py Improvements to company API 2020-04-13 20:19:10 +10:00
0017_auto_20200413_0320.py Rename "manufacturer" to "manufacturer_name" 2020-04-13 20:19:59 +10:00
0018_supplierpart_manufacturer.py Add migration to create a 'manufacturer' field to the SupplierPart model 2020-04-13 20:20:08 +10:00
0019_auto_20200413_0642.py fix trailing 2022-05-20 13:20:55 +02:00
0020_auto_20200413_0839.py Change related name for SuppleirPart.supplier 2020-04-13 20:20:28 +10:00
0021_remove_supplierpart_manufacturer_name.py Remove old 'manufacturer_name' field 2020-04-13 20:26:24 +10:00
0022_auto_20200613_1045.py Update verbose names for some fields 2020-06-13 20:46:19 +10:00
0023_auto_20200808_0715.py Add migration files 2020-08-08 17:16:04 +10:00
0024_unique_name_email_constraint.py fix migration coverage for company 2022-02-13 04:53:18 +01:00
0025_auto_20201110_1001.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00
0026_auto_20201110_1011.py Pricing bug fix (#4422) 2023-02-26 16:36:11 +11:00
0027_remove_supplierpricebreak_currency.py Remove common_currency model entirely 2020-11-11 00:21:06 +11:00
0028_remove_supplierpricebreak_cost.py Remove common_currency model entirely 2020-11-11 00:21:06 +11:00
0029_company_currency.py Add 'currency' option for company 2020-11-12 11:02:10 +11:00
0030_auto_20201112_1112.py 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
0031_auto_20210103_2215.py Update SupplierPart model to allow data importing 2021-01-03 22:16:32 +11:00
0032_auto_20210403_1837.py Remove reliance on django-markdownx (#3231) 2022-06-20 22:20:04 +10:00
0033_auto_20210410_1528.py Company description is no longer a required field 2021-04-10 15:29:44 +10:00
0034_manufacturerpart.py Merged master and company migrations 2021-04-12 11:10:35 -04:00
0035_supplierpart_update_1.py Split supplier part update migration and added reverse method for manufacturer data 2021-04-13 10:25:53 -04:00
0036_supplierpart_update_2.py fix trailing 2022-05-20 13:20:55 +02:00
0037_supplierpart_update_3.py Split supplier part update migration and added reverse method for manufacturer data 2021-04-13 10:25:53 -04:00
0038_manufacturerpartparameter.py Add ManufacturerPartParameter model 2021-06-20 17:50:07 +10:00
0039_auto_20210701_0509.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00
0040_alter_company_currency.py Specify 'default' functions for 'reference' field in SalesOrder and PurchaseOrder 2021-07-02 23:59:02 +10:00
0041_alter_company_options.py Added migration file 2021-10-04 16:41:41 -04:00
0042_supplierpricebreak_updated.py Add "last updated" field to supplier price break 2022-03-14 23:22:29 +01:00
0043_manufacturerpartattachment.py Add migration 2022-05-18 13:24:57 +02:00
0044_auto_20220607_2204.py SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
0045_alter_company_notes.py Remove reliance on django-markdownx (#3231) 2022-06-20 22:20:04 +10:00
0046_alter_company_image.py Update requirements (#3228) 2022-06-28 22:12:00 +10:00
0047_supplierpart_pack_size.py Feature: Supplier part pack size (#3644) 2022-09-08 09:49:14 +10:00
0048_auto_20220913_0312.py Barcode Refactor (#3640) 2022-09-15 14:14:51 +10:00
0049_company_metadata.py Add metadata model to Company (#3895) 2022-11-03 22:21:16 +11:00
0050_alter_company_website.py Remove client-side length validation in form inputs (#3911) 2022-11-10 12:51:15 +11:00
0051_alter_supplierpricebreak_price.py Build Order Updates (#4855) 2023-06-13 20:18:32 +10:00
0052_alter_supplierpricebreak_updated.py [FR] Add last updated column for supplier parts (#4214) 2023-01-25 12:18:52 +11:00
0053_supplierpart_updated.py [FR] Add last updated column for supplier parts (#4214) 2023-01-25 12:18:52 +11:00
0054_companyattachment.py Company attachment (#4346) 2023-02-16 09:52:13 +11:00
0055_auto_20230317_0816.py Add Metadata to further models (#4410) 2023-03-23 21:51:08 +11:00
0056_alter_company_notes.py Support image uploads in the "notes" markdown fields (#4615) 2023-04-19 13:08:26 +10:00
0057_auto_20230427_2033.py Add 'Tag' management (#4367) 2023-05-04 09:02:48 +10:00
0058_auto_20230515_0004.py Allow tag fields to be empty (#4816) 2023-05-15 10:57:12 +10:00
0059_supplierpart_pack_units.py Fix migration order (#5027) 2023-06-13 07:34:41 +10:00
0060_auto_20230519_0344.py Part units (#4854) 2023-05-26 16:57:23 +10:00
0061_remove_supplierpart_pack_size.py Part units (#4854) 2023-05-26 16:57:23 +10:00
0062_contact_metadata.py Add Metadata to more models (#4898) 2023-06-02 19:26:20 +10:00
0063_auto_20230502_1956.py Fix constraint for address model (#5076) 2023-06-20 16:57:20 +10:00
0064_move_address_field_to_address_model.py [Feature] Company Addresses (#4732) 2023-06-17 21:55:25 +10:00
0065_remove_company_address.py [Feature] Company Addresses (#4732) 2023-06-17 21:55:25 +10:00
0066_auto_20230616_2059.py [Feature] Company Addresses (#4732) 2023-06-17 21:55:25 +10:00
__init__.py Moving 'supplier' to 'company' 2018-04-19 09:01:25 +10:00