diff --git a/brewman/brewman/__version__.py b/brewman/brewman/__version__.py index ba280739..ee502a28 100644 --- a/brewman/brewman/__version__.py +++ b/brewman/brewman/__version__.py @@ -1 +1 @@ -__version__ = "9.1.0" +__version__ = "9.1.1" diff --git a/brewman/brewman/schemas/product.py b/brewman/brewman/schemas/product.py index 090e3b8d..e5636885 100644 --- a/brewman/brewman/schemas/product.py +++ b/brewman/brewman/schemas/product.py @@ -19,7 +19,7 @@ class ProductLink(BaseModel): class ProductIn(BaseModel): name: str = Field(..., min_length=1) units: str - fraction: Decimal = Field(ge=1, default=1) + fraction: Decimal = Field(le=1, default=1) fraction_units: str product_yield: Decimal = Field(gt=0, le=1, default=1) product_group: ProductGroupLink = Field(...) diff --git a/brewman/pyproject.toml b/brewman/pyproject.toml index a6f5fe91..3801af42 100644 --- a/brewman/pyproject.toml +++ b/brewman/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "brewman" -version = "9.1.0" +version = "9.1.1" description = "Accounting plus inventory management for a restaurant." authors = ["tanshu "] diff --git a/overlord/package.json b/overlord/package.json index 03818887..9fa6dadd 100644 --- a/overlord/package.json +++ b/overlord/package.json @@ -1,6 +1,6 @@ { "name": "overlord", - "version": "9.1.0", + "version": "9.1.1", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/overlord/src/environments/environment.prod.ts b/overlord/src/environments/environment.prod.ts index 013805f7..c8a6a311 100644 --- a/overlord/src/environments/environment.prod.ts +++ b/overlord/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry - version: '9.1.0', + version: '9.1.1', }; diff --git a/overlord/src/environments/environment.ts b/overlord/src/environments/environment.ts index 09279266..54bcf93c 100644 --- a/overlord/src/environments/environment.ts +++ b/overlord/src/environments/environment.ts @@ -5,7 +5,7 @@ export const environment = { production: false, ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry - version: '9.1.0', + version: '9.1.1', }; /*