Feature request #15589
Duplicate record function
|Pull Request or Patch supplied:||No||Resolution:|
A duplicate record button should be added to the attribute table and in the feature form when using embedded forms.
The button should be active if one or more records are selected. The attributes of the selected records are all copied over to the new records except for primary key columns or columns with unique constraints, where they should be fetched from the (provider) constraints (see Nyalls proposal about unique constraints).
The duplicate function should also be added to the context menu of a row in the attribute table and to the preview column of an embedded form.
See screenshots with more explanations.