lino.core.merge

This defines the MergeAction class.

This action is automatically installed on every model except those that have allow_merge_action set to False. For example it should not be used on models that have MTI children.

(This module's source code is available here.)

Classes

MergeAction(model, **kw)

Merge this object into another object of same class.

MergePlan(obj, merge_to[, keep_volatiles])

A volatile object which represents what is going to happen if we merge two objects.

class lino.core.merge.MergeAction(model, **kw)

Bases: lino.core.actions.Action

Merge this object into another object of same class.

This action has a dynamically generated parameters window.

run_from_ui(ar)

Implements lino.core.actions.Action.run_from_ui().

class lino.core.merge.MergePlan(obj, merge_to, keep_volatiles={})

Bases: object

A volatile object which represents what is going to happen if we merge two objects.