This project is not covered by Drupal’s security advisory policy.

The same animal, field, or piece of equipment sometimes ends up recorded twice in farmOS. Asset Merge merges those duplicate assets into a single asset, and maintains a list of assets that may be duplicates of each other.

You choose which asset to keep. Everything recorded against the others, logs, quantities, plans and child assets, is reassigned to it, the others are
archived and marked as duplicates, and every record that changed gets a new
revision explaining why. The whole merge runs in one transaction: if any record would end up invalid, nothing is written and you are told what failed.

Features

  • Merge candidates screen. A list of asset pairs that may
    be duplicates, with the reason each pair was flagged, and operations to merge
    or dismiss.
  • Merge action. Select assets on any asset list and merge
    them, no candidate required.
  • Field values are combined. The asset you keep never
    loses a value it already had; empty fields are filled from the merged assets,
    multi-value fields keep both sides, and checkboxes are ticked if they were
    ticked anywhere.
  • Full revision trail. The asset you keep, the archived
    duplicates and every reassigned record each get a revision message naming
    what was merged into what.
  • Detector plugins. Duplicate detection is a plugin type,
    so any module can add its own signals. One detector ships with the module,
    matching assets of the same type with the same name.
  • Detectors are configurable. Turn individual detectors on
    and off at Settings > Asset merge.
  • Dismissals are remembered. A pair marked as two
    different things is never suggested again, and can be returned to the queue
    later if the evidence changes.

Requirements

farmOS 4 and Drupal 11. No other dependencies beyond the farmOS core
modules.

Similar modules

farmOS already merges taxonomy terms with Term Merge. This module does the equivalent job for assets.

Supporting organizations: 
Drupal development and maintenance

Project information

Releases