You need to add a Custom Field to Project Issues.
First, log in as
Administrator and make sure the
Technical Features are enabled.
- Go to
Users, find and open "Administrator", and in the Access Rights
tab checkTechnical Features`.
Second, create the custom field in the database:
- Go to
Database Structure, find and edit the "Project Issue" model
- At the bottom of the
Fieldstab, "Add an Item"
- Create the new field:
- Field Label:
- Field Type:
Save & Closethe "Create Fields" dialog
- "Save" the Project Issue changes
Finally, add the field to the form:
- Go to
User Interface, find and edit the "Project Issue Tracker Form"
Architecturetext, find and replace:
<group groups="base.group_user"> <field name="user_id"/>
<group groups="base.group_user"> <field name="x_url" widget="url"/> <field name="user_id"/>
And it's done. Now go to Project Issues and you'll see the new field available.
For fields that are not URLs just remove the "widget=...". Just write:
<field name="my_field_name"/>. See all attributes a field can have inn the official docs.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/20/13, 4:35 AM|
|Seen: 1516 times|
|Last updated: 3/16/15, 8:10 AM|