Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory quick form #766

Merged
merged 11 commits into from Feb 2, 2024
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- [Announce new releases on farmOS.discourse.group #780](https://github.com/farmOS/farmOS/pull/780)
- [Add a Product asset type and Product type taxonomy #787](https://github.com/farmOS/farmOS/pull/787)
- [Inventory quick form #766](https://github.com/farmOS/farmOS/pull/766)

### Changed

Expand Down
19 changes: 19 additions & 0 deletions modules/quick/inventory/config/schema/farm_quick_inventory.yml
@@ -0,0 +1,19 @@
farm_quick.settings.inventory:
type: quick_form_settings
label: 'Inventory quick form settings'
mapping:
asset:
type: integer
label: 'Default asset ID'
units:
type: string
label: 'Default quantity units'
measure:
type: string
label: 'Default quantity measure'
inventory_adjustment:
type: string
label: 'Default inventory adjustment type'
log_type:
type: string
label: 'Default log type'
9 changes: 9 additions & 0 deletions modules/quick/inventory/farm_quick_inventory.info.yml
@@ -0,0 +1,9 @@
name: Inventory Quick Form
description: Provides a quick form for recording asset inventory adjustments.
type: module
package: farmOS Quick Forms
core_version_requirement: ^10
dependencies:
- farm:farm_inventory
- farm:farm_observation
- farm:farm_quick