Problem/Motivation

See https://farmos.discourse.group/t/allowing-material-quantities-link-to-mu...

Proposed resolution

The actual change is very simple. But it is a breaking change from an API perspective, so we will need to wait until the farmOS 3.x branch.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Issue fork farm-3357679

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

m.stenta created an issue. See original summary.

m.stenta’s picture

Here is the original issue that added the material quantity type with a single-value term reference field: #3196834: Material assets, types, quantities, inventory, and filtering

m.stenta’s picture

m.stenta’s picture

Note to self: look at how this renders in the form and log view. The form element might look better at the bottom of the quantity form. And the log view shows all the material types on one line, which is hard to differentiate.

m.stenta’s picture

FWIW SurveyStack wants to start using this before it is officially included in farmOS so we are altering the bundle field definition in their custom module: https://github.com/mstenta/farm_surveystack/commit/7ff937144e0e3ccb4114c...

m.stenta’s picture

Status: Postponed » Fixed

This is fixed in my 3.x branch, which will be pushed to origin soon.

https://github.com/mstenta/farmOS/tree/3.x

m.stenta’s picture

Version: 2.x-dev » 3.x-dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.