Merge pull request #2832 from SchrodingersGat/top-level-parents

Explicitly mark "parent" field in PartCategory and StockLocation
This commit is contained in:
Oliver 2022-04-15 22:32:53 +10:00 committed by GitHub
commit cf9bd62f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -293,6 +293,7 @@ function categoryFields() {
return {
parent: {
help_text: '{% trans "Parent part category" %}',
required: false,
},
name: {},
description: {},

View File

@ -107,6 +107,7 @@ function stockLocationFields(options={}) {
var fields = {
parent: {
help_text: '{% trans "Parent stock location" %}',
required: false,
},
name: {},
description: {},