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

Added MinMoneyValidator to InvenTreeModelMoneyField

- Refactor edit and delete forms for PurchaseOrderLineItem
This commit is contained in:
Oliver
2021-07-03 00:34:41 +10:00
parent 993abd9d91
commit 1cdf03ef49
8 changed files with 49 additions and 54 deletions

View File

@ -1267,7 +1267,7 @@ function constructField(name, parameters, options) {
var extra = parameters.prefix != null;
// Some fields can have 'clear' inputs associated with them
if (!parameters.required) {
if (!parameters.required && !parameters.read_only) {
switch (parameters.type) {
case 'string':
case 'url':