Commit c0d8e492 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Go back: the field origin can be modified by the user.

It is required by the duplicate operation.
A better approach would be to reset the field origin and status in
the user interface when duplicating. Require to modify plugin_dbui.
parent bc386f6f
......@@ -91,7 +91,7 @@ db.define_table("publications",
Field("id_projects", "reference projects", label='Project', notnull=True),
Field("id_categories", "reference categories", default=undef_id, label='Category'),
Field("id_status", "reference status", default=undef_id, label="Status"),
Field("origin", "string", length=255, comment=tp_origin, writable=False),
Field("origin", "string", length=255, comment=tp_origin),
migrate="publications.table")
db.publications._before_delete.append(INHIBIT_PUBLICATION_DELETE_ON_OK)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment