2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Company attachment (#4346)

* Adds new model, API, serializers, etc

- Refactor InvenTreeAttachmentSerializer class
- Reduces code duplication

* Update front end

* Increment API version
This commit is contained in:
Oliver
2023-02-16 09:52:13 +11:00
committed by GitHub
parent f4bc65523c
commit 45d50fc618
14 changed files with 182 additions and 127 deletions

View File

@ -130,6 +130,7 @@ class RuleSet(models.Model):
],
'purchase_order': [
'company_company',
'company_companyattachment',
'company_manufacturerpart',
'company_manufacturerpartparameter',
'company_supplierpart',
@ -142,6 +143,7 @@ class RuleSet(models.Model):
],
'sales_order': [
'company_company',
'company_companyattachment',
'order_salesorder',
'order_salesorderallocation',
'order_salesorderattachment',