summaryrefslogtreecommitdiff
path: root/addons/project/data
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2020-03-04 14:48:17 +0000
committerYannick Tivisse <yti@odoo.com>2020-04-08 14:29:50 +0000
commit58a90952edb715dc89d46d953fb23be3158396da (patch)
treea67927e150b09e42e0db290b4481a8dfd0c055e4 /addons/project/data
parent6b41dbf6831517523d47ef31a48558613d86a741 (diff)
[IMP] project: improve usability (back2basics)
* Reword tasks in the sample project * Add a "Create and Edit" button on the project creation modal * Open the file chooser in "Set a cover image" if there are no images set * Correclty display the kanban state button on archived task * Add a button to list the tasks when deleting a project * Open file chooser for cover image: Automatically open the file chooser when setting a cover image on a task if there are no attachments to chose from. closes odoo/odoo#47306 Taskid: 2209133 Related: odoo/enterprise#9141 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/project/data')
-rw-r--r--addons/project/data/project_data.xml135
1 files changed, 79 insertions, 56 deletions
diff --git a/addons/project/data/project_data.xml b/addons/project/data/project_data.xml
index b2b6d043752..d78834cfad2 100644
--- a/addons/project/data/project_data.xml
+++ b/addons/project/data/project_data.xml
@@ -99,19 +99,19 @@
<record forcecreate="False" id="project_stage_data_0" model="project.task.type">
<field name="sequence">1</field>
- <field name="name">Basic</field>
+ <field name="name">First Steps</field>
<field name="project_ids" eval="[(4, ref('project_project_data'))]"/>
</record>
<record forcecreate="False" id="project_stage_data_1" model="project.task.type">
<field name="sequence">2</field>
- <field name="name">Advanced</field>
+ <field name="name">Getting Better</field>
<field name="project_ids" eval="[(4, ref('project_project_data'))]"/>
</record>
<record forcecreate="False" id="project_stage_data_2" model="project.task.type">
<field name="sequence">3</field>
- <field name="name">Expert</field>
+ <field name="name">Wow... You're Amazing!</field>
<field name="project_ids" eval="[(4, ref('project_project_data'))]"/>
</record>
@@ -122,52 +122,56 @@
<field name="project_id" ref="project.project_project_data"/>
<field name="active" eval="False"/>
<field name="name">Welcome to Odoo</field>
- <field name="description">Welcome! This project has the objective to show you all the main feature in the project app. Each card will help you to manage your projects easily in a few minutes.</field>
+ <field name="description" type="xml">
+ <p>Welcome!</p>
+ <p>This project has the objective to show you all the main features from the project app.</p>
+ <p>Each card will teach you tips and tricks to easily manage your projects and tasks.</p>
+ </field>
<field name="color">2</field>
<field name="stage_id" ref="project_stage_data_0"/>
</record>
<record forcecreate="False" id="project_task_data_1" model="project.task">
- <field name="sequence">2</field>
+ <field name="sequence">5</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Try to play with the search bar. Use the filters</field>
- <field name="description">Come back to the tasks view to play with the filters. They are up to the form</field>
- <field name="stage_id" ref="project_stage_data_0"/>
+ <field name="name">Try to play with the filters</field>
+ <field name="description" type="xml">
+ <p>Go back to the tasks view to play with the filters. Try to identify unassigned tasks or tasks that are overdue, for instance.</p>
+ <p>Hint: the filters and the search bar are available in the top right corner of your screen.</p>
+ </field>
+ <field name="stage_id" ref="project_stage_data_1"/>
</record>
<record forcecreate="False" id="project_task_data_5" model="project.task">
- <field name="sequence">3</field>
+ <field name="sequence">2</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Try to drag a task wherever your want</field>
+ <field name="name">Try to drag &amp; drop this task wherever your want</field>
+ <field name="description">... or try changing the status of your task from here.</field>
<field name="kanban_state">done</field>
<field name="stage_id" ref="project_stage_data_0"/>
</record>
<record forcecreate="False" id="project_task_data_2" model="project.task">
- <field name="sequence">4</field>
+ <field name="sequence">3</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Guess what happens if you set this task as favorite?</field>
- <field name="description">Click on the top left star to change the priority and come back in the tasks view. You task is now at the top of the column.</field>
+ <field name="name">Star this task to prioritize it</field>
+ <field name="description" type="xml"><p>Click on the top left icon to prioritize this task and go back to the kanban view.</p> <p>Your task is now at the top of the stage.</p></field>
<field name="stage_id" ref="project_stage_data_0"/>
</record>
<record forcecreate="False" id="project_task_data_4" model="project.task">
+ <field name="sequence">3</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Use the chatter to collaborate with your members</field>
- <field name="description">The chatter is right below</field>
- <field name="stage_id" ref="project_stage_data_2"/>
+ <field name="name">Use the chatter to collaborate with your team</field>
+ <field name="stage_id" ref="project_stage_data_1"/>
</record>
<record forcecreate="False" id="msg_task_4" model="mail.message">
@@ -175,90 +179,109 @@
<field name="model">project.task</field>
<field name="author_id" ref="base.partner_root"/>
<field name="res_id" ref="project_task_data_4"/>
- <field name="body">Use this chatter to send emails. Add new people in the followers list, to make them aware about the main changes about this task!</field>
+ <field name="body">Use this chatter to send emails. Add new people in the followers list to make them aware about the main changes about this task.</field>
<field name="message_type">email</field>
<field name="subtype_id" ref="mail.mt_comment"/>
</record>
+ <record forcecreate="False" id="msg_task_4_1" model="mail.message">
+ <field name="subject">Converse with your customers and colleagues</field>
+ <field name="model">project.task</field>
+ <field name="author_id" ref="base.partner_root"/>
+ <field name="res_id" ref="project_task_data_4"/>
+ <field name="body">Use @ mentions to ping a colleague or # mentions to contact an entire team. The people following this task won't be notified of the note you are logging unless you specifically tag them.</field>
+ <field name="message_type">comment</field>
+ <field name="subtype_id" ref="mail.mt_note"/>
+ </record>
+
+ <record forcecreate="False" id="project_task_data_10" model="project.task">
+ <field name="sequence">4</field>
+ <field name="user_id" ref="base.user_admin"/>
+ <field name="priority">0</field>
+ <field name="project_id" ref="project.project_project_data"/>
+ <field name="name">Organize your work by using activities.</field>
+ <field name="stage_id" ref="project_stage_data_1"/>
+ </record>
+
+ <record forcecreate="False" id="mail_activity_task_4" model="mail.activity">
+ <field name="res_id" ref="project_task_data_10"/>
+ <field name="res_model_id" ref="model_project_task"/>
+ <field name="activity_type_id" ref="mail.mail_activity_data_todo" />
+ <field name="date_deadline" eval="datetime.now()+timedelta(days=5)"/>
+ <field name="summary">Use activities to organize your work. Try marking this activity as done.</field>
+ <field name="create_uid" ref="base.user_root"/>
+ <field name="user_id" ref="base.user_root"/>
+ </record>
+
<record forcecreate="False" id="project_tag_data" model="project.tags">
<field name="name">Need Assistance</field>
<field name="color" eval="5"/>
</record>
<record forcecreate="False" id="project_task_data_6" model="project.task">
- <field name="sequence">3</field>
+ <field name="sequence">1</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Use tags to organize your tasks</field>
+ <field name="name">Use tags to categorize your tasks</field>
<field name="kanban_state">blocked</field>
<field name="stage_id" ref="project_stage_data_1"/>
- <field name="description">Tags will be represented by colored bars on the card</field>
+ <field name="description" type="xml"><p>Tags will be represented by colored dots on your task's card.</p>
+ <p>Click on a tag to define its color.</p>
+ <p>Tip: you can also define a color for your task from the tasks view.</p></field>
<field name="tag_ids" eval="[(6,0,[ref('project.project_tag_data')])]"/>
</record>
<record forcecreate="False" id="project_task_data_12" model="project.task">
- <field name="sequence">4</field>
+ <field name="sequence">1</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
<field name="color">3</field>
<field name="name">Try to customize this card. Change its background.</field>
- <field name="description">Use the edit icon on the card to customize the background.</field>
- <field name="stage_id" ref="project_stage_data_1"/>
+ <field name="description">Use the edit icon on the card from the tasks view to customize its background.</field>
+ <field name="stage_id" ref="project_stage_data_2"/>
</record>
<record forcecreate="False" id="project_task_data_13" model="project.task">
- <field name="sequence">5</field>
- <field name="user_id" ref="base.user_admin"/>
- <field name="priority">0</field>
- <field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Set this task as 'Ready for next stage' to proceed further in the process</field>
- <field name="description">You can change its state by clicking on the small circle on the card, or here, next to the task title.</field>
- <field name="stage_id" ref="project_stage_data_1"/>
- </record>
-
- <record forcecreate="False" id="project_task_data_7" model="project.task">
+ <field name="sequence">4</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Finished with this stage? Archive it !</field>
- <field name="stage_id" ref="project_stage_data_2"/>
- <field name="description">Click on the gear icon on the column, to archive the stage, with all the tasks in it. You can also archive one card only, by clicking on the button in the task form view.</field>
+ <field name="name">Set this task as being 'Ready for next stage'</field>
+ <field name="description" type="xml"><p>You can change this task's state by clicking on the small circle on the card, or here, next to the task's title.</p>
+ <p>Kanban states are perfect to let your colleagues know that your task is ready to be proceeded or that you need help on something.</p></field>
+ <field name="stage_id" ref="project_stage_data_0"/>
</record>
<record forcecreate="False" id="project_task_data_9" model="project.task">
+ <field name="sequence">2</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">You want to add a stage? Add a new column !</field>
+ <field name="name">You want to add a stage? Add a new column!</field>
<field name="stage_id" ref="project_stage_data_2"/>
- <field name="description">Click on the last column to create a stage. The name depends on the process. For example, in a customer service process, a stage name may be 'Backlog', 'Waiting Customer Feedback' or 'Done'.</field>
+ <field name="description" type="xml"><p>Click on the last column of your tasks view to create a stage.</p><p>Feel free to adapt the steps to your business workflow by drag &amp; dropping your stages in the right places.</p> <p>Tip: You can also fold the stages you don't need to see permanently.</p></field>
</record>
- <record forcecreate="False" id="project_task_data_11" model="project.task">
+ <record forcecreate="false" id="project_task_data_11" model="project.task">
+ <field name="sequence">2</field>
<field name="user_id" ref="base.user_admin"/>
<field name="priority">0</field>
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
<field name="name">You can set a deadline on a task</field>
+ <field name="description" type="xml"><p>Deadlines are useful to get things done on time.</p><p>You will get visual clues when the due date is close or due.</p></field>
<field name="stage_id" ref="project_stage_data_1"/>
- <field name="date_deadline" eval="datetime.now()+timedelta(days=30)"/>
+ <field name="date_deadline" eval="datetime.now()-timedelta(days=7)"/>
</record>
- <record forcecreate="False" id="project_task_data_14" model="project.task">
- <field name="user_id" ref="base.user_admin"/>
+ <record forcecreate="false" id="project_task_data_15" model="project.task">
+ <field name="sequence">5</field>
<field name="priority">0</field>
+ <field name="user_id" eval="False" />
<field name="project_id" ref="project.project_project_data"/>
- <field name="active" eval="False"/>
- <field name="name">Send a message with a picture as attachment, and see what happens!</field>
- <field name="stage_id" ref="project_stage_data_2"/>
- <field name="description">In the chatter, sending an email with an attachment will display the picture on the card. When there are several image attachments, you can choose which one you want to display.</field>
+ <field name="name">Assign yourself to this task</field>
+ <field name="stage_id" ref="project_stage_data_0"/>
</record>
</odoo>