Use configured units of measure for measurements

Created on 6 February 2024, 10 months ago
Updated 23 February 2024, 9 months ago

Problem/Motivation

Field operation measurements are syncing with metric units by default. This should respect the configured quantity system of measurement configured in farmOS. JD allows a Accept-UOM-System header to specify this in relevant API requests.

Steps to reproduce

Set units to US/Imperial, import field operations, and observe that metric is imported.

Proposed resolution

Respect quantity system of measurement setting.

Remaining tasks

Implement, test

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024