Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

Customize how data is merged

There are many ways to customize how to find duplicate database rows and to merge them.

class lino.core.merge.MergeAction

Implements the lino.core.model.Model.merge_row action.

This action has a dynamically generated parameters window.

class lino.core.model.Model
allow_merge_action = False

Whether this model should have a merge action.

merge_row

Merge this object into another object of same class.

This action is automatically installed on every model that has allow_merge_action set to True.

For example it should not be used on models that have MTI children.

class lino.core.actors.Actor