fix(stock-location): Stock location address required (#3065)
What: - Removes the requirement to have an address id while creating a new stock location. - Add field company to Location Address FIXES: CORE-1018 Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oliver Windall Juhl
parent
f65f590a27
commit
2d525237b6
@@ -92,6 +92,10 @@ class StockLocationAddress {
|
||||
@IsString()
|
||||
address_2?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
company?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
city?: string
|
||||
|
||||
@@ -92,6 +92,10 @@ class StockLocationAddress {
|
||||
@IsString()
|
||||
address_2?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
company?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
city?: string
|
||||
|
||||
Reference in New Issue
Block a user