Limit InvenTree part descriptions
This commit is contained in:
@@ -46,7 +46,7 @@ class InvenTreeClient:
|
||||
async def create_part(self, *, name: str, description: str, ipn: str) -> dict[str, Any]:
|
||||
payload = {
|
||||
"name": name[:100],
|
||||
"description": description,
|
||||
"description": description[:250],
|
||||
"category": self.settings.inventree_part_category_id,
|
||||
"IPN": ipn[:100],
|
||||
"active": True,
|
||||
|
||||
Reference in New Issue
Block a user