flectra/addons/project/data/project_demo.xml

435 lines
21 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data noupdate="1">
<!-- Users -->
<record id="base.user_demo" model="res.users">
<field name="groups_id" eval="[(4, ref('group_project_manager'))]"/>
</record>
<!-- Categories -->
<record id="project_tags_00" model="project.tags">
<field name="name">Contact's suggestion</field>
</record>
<record id="project_tags_01" model="project.tags">
<field name="name">Feature request</field>
</record>
<record id="project_tags_02" model="project.tags">
<field name="name">Experiment</field>
</record>
<record id="project_tags_03" model="project.tags">
<field name="name">Usability</field>
</record>
<!-- Email templates -->
<record id="mail_template_data_project_task" model="mail.template">
<field name="name">Task: Reception Acknowledgment</field>
<field name="subject">Reception of ${object.name}</field>
<field name="model_id" ref="project.model_project_task"/>
<field name="use_default_to" eval="True"/>
<field name="body_html"><![CDATA[
<p>Dear ${object.partner_id.name or 'customer'},</p>
<p>Thank you for your enquiry.<br /></p>
<p>If you have any questions, please let us know.</p>
<p>Best regards,</p>]]></field>
<field name="auto_delete" eval="True"/>
</record>
<!-- Stages -->
<record id="project_stage_0" model="project.task.type">
<field name="sequence">1</field>
<field name="name">To Do</field>
<field name="legend_blocked">Not validated</field>
<field name="legend_priority">Use the star for tasks related to gold customers</field>
<field name="mail_template_id" ref="project.mail_template_data_project_task"/>
</record>
<record id="project_stage_1" model="project.task.type">
<field name="sequence">10</field>
<field name="name">In Progress</field>
<field name="legend_blocked">Need functional or technical help</field>
<field name="legend_done">Buzz or set as done</field>
</record>
<record id="project_stage_2" model="project.task.type">
<field name="sequence">20</field>
<field name="name">Done</field>
<field name="fold" eval="True"/>
</record>
<record id="project_stage_3" model="project.task.type">
<field name="sequence">30</field>
<field name="name">Cancelled</field>
<field name="legend_done">Ready to reopen</field>
<field name="fold" eval="True"/>
</record>
<record id="project_project_1" model="project.project">
<field name="date_start" eval="time.strftime('%Y-%m-01 10:00:00')"/>
<field name="name">Website for Sales &amp; WMS</field>
<field name="color">3</field>
<field name="user_id" ref="base.user_demo"/>
<field name="type_ids" eval="[(4, ref('project_stage_0')), (4, ref('project_stage_1')), (4, ref('project_stage_2')), (4, ref('project_stage_3'))]"/>
<field name="partner_id" ref="base.partner_demo_portal"/>
<field name="privacy_visibility">portal</field>
</record>
<record id="project_project_2" model="project.project">
<field name="name">Research &amp; Development</field>
<field name="privacy_visibility">followers</field>
<field name="user_id" ref="base.user_demo"/>
<field name="type_ids" eval="[(4, ref('project_stage_0')), (4, ref('project_stage_1')), (4, ref('project_stage_2')), (4, ref('project_stage_3'))]"/>
</record>
<record id="project_project_3" model="project.project">
<field name="sequence">10</field>
<field name="name">E-Learning Integration</field>
<field name="label_tasks">Trainings</field>
<field name="user_id" ref="base.user_demo"/>
<field name="type_ids" eval="[(4, ref('project_stage_0')), (4, ref('project_stage_1')), (4, ref('project_stage_2')), (4, ref('project_stage_3'))]"/>
<field name="privacy_visibility">employees</field>
</record>
<record id="project_project_4" model="project.project">
<field name="sequence">20</field>
<field name="name">Website Design Templates</field>
<field name="label_tasks">Designs</field>
<field name="user_id" ref="base.user_root"/>
<field name="privacy_visibility">followers</field>
<field name="type_ids" eval="[(4, ref('project_stage_0')), (4, ref('project_stage_1')), (4, ref('project_stage_2')), (4, ref('project_stage_3'))]"/>
<field name="privacy_visibility">employees</field>
</record>
<record id="project_project_5" model="project.project">
<field name="sequence">2</field>
<field name="partner_id" ref="base.res_partner_4"/>
<field name="name">Data Import/Export Plugin</field>
<field name="label_tasks">Databases</field>
<field name="type_ids" eval="[(4, ref('project_stage_0')), (4, ref('project_stage_1')), (4, ref('project_stage_2')), (4, ref('project_stage_3'))]"/>
<field name="privacy_visibility">followers</field>
</record>
<!-- Channel -->
<record id="mail_channel_project_task" model="mail.channel">
<field name="name">Projects &amp; Tasks</field>
<field name="group_public_id" ref="group_project_user"/>
<field name="group_ids" eval="[(4, ref('group_project_user'))]"/>
</record>
<!-- Channel follows all above projects -->
<function model="project.project" name="message_subscribe"
eval="[ref('project_project_1'), ref('project_project_2'),
ref('project_project_3'), ref('project_project_4'),
ref('project_project_5')], None, [ref('mail_channel_project_task')]"/>
<!-- Tasks -->
<record id="project_task_1" model="project.task">
<field name="planned_hours" eval="40.0"/>
<field name="remaining_hours" eval="40.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Prepare Requirements Document</field>
<field name="stage_id" ref="project_stage_0"/>
<field name="color">3</field>
</record>
<record id="project_task_2" model="project.task">
<field name="planned_hours" eval="32.0"/>
<field name="remaining_hours" eval="32.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Make SRS</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_3" model="project.task">
<field name="planned_hours" eval="10.0"/>
<field name="remaining_hours" eval="10.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Budget Planning</field>
<field name="date_deadline" eval="time.strftime('%Y-%m-24')"/>
<field name="stage_id" ref="project_stage_2"/>
<field name="color">4</field>
</record>
<record id="project_task_4" model="project.task">
<field name="planned_hours" eval="60.0"/>
<field name="remaining_hours" eval="60.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Develop module for Sale Management</field>
<field name="description">Use the account_budget module</field>
<field name="date_deadline" eval="time.strftime('%Y-%m-19')"/>
<field name="color">5</field>
<field name="stage_id" ref="project_stage_1"/>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_01')])]"/>
</record>
<record id="project_task_5" model="project.task">
<field name="planned_hours" eval="76.0"/>
<field name="remaining_hours" eval="76.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Develop module for Warehouse</field>
<field name="kanban_state">done</field>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="date_deadline" eval="time.strftime('%Y-%m-%d')"/>
<field name="stage_id" ref="project_stage_1"/>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_01')])]"/>
</record>
<record id="project_task_6" model="project.task">
<field name="planned_hours" eval="24.0"/>
<field name="remaining_hours" eval="24.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Integrate Modules</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_7" model="project.task">
<field name="planned_hours" eval="15.0"/>
<field name="remaining_hours" eval="5.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_1"/>
<field name="name">Internal testing + Software Install</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_8" model="project.task">
<field name="planned_hours" eval="22.0"/>
<field name="remaining_hours" eval="22.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_2"/>
<field name="name">New portal system</field>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="stage_id" ref="project_stage_2"/>
<field name="tag_ids" eval="[(6, 0, [
ref('project.project_tags_02')])]"/>
</record>
<record id="project_task_9" model="project.task">
<field name="planned_hours" eval="18.0"/>
<field name="remaining_hours" eval="18.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_2"/>
<field name="name">Document history management</field>
<field name="stage_id" ref="project_stage_0"/>
</record>
<record id="project_task_10" model="project.task">
<field name="planned_hours" eval="38.0"/>
<field name="remaining_hours" eval="38.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_2"/>
<field name="name">Social network integration</field>
<field name="kanban_state">blocked</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_11" model="project.task">
<field name="planned_hours" eval="16.0"/>
<field name="remaining_hours" eval="16.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_2"/>
<field name="name">User interface improvements</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project.project_tags_01'),
ref('project.project_tags_03')])]"/>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_12" model="project.task">
<field name="planned_hours" eval="40.0"/>
<field name="remaining_hours" eval="40.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_2"/>
<field name="name">Improve+clean code and functionality</field>
<field name="stage_id" ref="project_stage_0"/>
<field name="color">6</field>
</record>
<record id="project_task_13" model="project.task">
<field name="planned_hours" eval="12.0"/>
<field name="remaining_hours" eval="12.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">Design Use Cases</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_14" model="project.task">
<field name="planned_hours" eval="12.0"/>
<field name="remaining_hours" eval="12.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">Dataflow Design</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_15" model="project.task">
<field name="planned_hours" eval="55.0"/>
<field name="remaining_hours" eval="55.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">User Interface design</field>
<field name="stage_id" ref="project_stage_2"/>
<field name="date_start">2016-08-25</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_03')])]"/>
</record>
<record id="project_task_16" model="project.task">
<field name="sequence" eval="10"/>
<field name="planned_hours" eval="80.0"/>
<field name="remaining_hours" eval="80.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">Set target for all deparments</field>
<field name="stage_id" ref="project_stage_3"/>
</record>
<record id="project_task_17" model="project.task">
<field name="planned_hours" eval="34.0"/>
<field name="remaining_hours" eval="34.0"/>
<field name="user_id" ref="base.user_demo"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">Integration of core components</field>
<field name="stage_id" ref="project_stage_1"/>
</record>
<record id="project_task_18" model="project.task">
<field name="planned_hours" eval="16.0"/>
<field name="remaining_hours" eval="16.0"/>
<field name="user_id" ref="base.user_root"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_3"/>
<field name="name">Deploy and review on live system</field>
<field name="stage_id" ref="project_stage_2"/>
</record>
<record id="project_task_19" model="project.task">
<field name="planned_hours">24.0</field>
<field name="remaining_hours">24.0</field>
<field name="stage_id" ref="project_stage_3"/>
<field name="user_id" eval="False"/>
<field name="project_id" ref="project.project_project_4"/>
<field name="name">Basic outline</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_02')])]"/>
</record>
<record id="project_task_20" model="project.task">
<field name="planned_hours">42.0</field>
<field name="remaining_hours">42.0</field>
<field name="user_id" eval="False"/>
<field name="stage_id" ref="project_stage_0"/>
<field name="project_id" ref="project.project_project_4"/>
<field name="name">Create new components</field>
</record>
<record id="project_task_21" model="project.task">
<field name="planned_hours">14.0</field>
<field name="remaining_hours">14.0</field>
<field name="user_id" eval="False"/>
<field name="stage_id" ref="project_stage_1"/>
<field name="project_id" ref="project.project_project_4"/>
<field name="name">Useablity review</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_03')])]"/>
</record>
<record id="project_task_22" model="project.task">
<field name="planned_hours">12.0</field>
<field name="remaining_hours">12.0</field>
<field name="stage_id" ref="project_stage_1"/>
<field name="user_id" eval="False"/>
2018-01-17 12:24:31 +01:00
<field name="priority">l</field>
<field name="project_id" ref="project.project_project_5"/>
<field name="name">Customer analysis + Architecture</field>
<field name="color">7</field>
</record>
<record id="project_task_23" model="project.task">
<field name="sequence">15</field>
<field name="planned_hours">15.0</field>
<field name="remaining_hours">15.0</field>
<field name="stage_id" ref="project_stage_1"/>
<field name="user_id" eval="False"/>
<field name="project_id" ref="project.project_project_5"/>
<field name="name">Data Export flow</field>
<field name="color">8</field>
</record>
<record id="project_task_24" model="project.task">
<field name="sequence">17</field>
<field name="planned_hours">8.0</field>
<field name="remaining_hours">8.0</field>
<field name="stage_id" ref="project_stage_2"/>
<field name="user_id" eval="False"/>
2018-01-17 12:24:31 +01:00
<field name="priority">m</field>
<field name="project_id" ref="project.project_project_5"/>
<field name="name">Modifications asked by the customer</field>
<field name="tag_ids" eval="[(6, 0, [
ref('project_tags_00')])]"/>
</record>
<record id="project_task_25" model="project.task">
<field name="sequence">20</field>
<field name="planned_hours">20.0</field>
<field name="remaining_hours">20.0</field>
<field name="user_id" eval="False"/>
<field name="project_id" ref="project.project_project_5"/>
<field name="name">Data import + Doc</field>
<field name="stage_id" ref="project_stage_0"/>
</record>
<record id="project_task_26" model="project.task">
<field name="sequence">20</field>
<field name="planned_hours">35.0</field>
<field name="remaining_hours">35.0</field>
<field name="user_id" eval="False"/>
<field name="project_id" ref="project.project_project_5"/>
<field name="name">Unit Testing</field>
<field name="stage_id" ref="project_stage_0"/>
</record>
<record id="message_task_1" model="mail.message">
<field name="model">project.task</field>
<field name="res_id" ref="project_task_22"/>
<field name="body">Hello Demo,
There is a change in customer requirement.
Can you check the document from customer again.
Thanks,</field>
<field name="message_type">comment</field>
<field name="author_id" ref="base.partner_root"/>
</record>
<record id="message_task_2" model="mail.message">
<field name="model">project.task</field>
<field name="res_id" ref="project_task_22"/>
<field name="parent_id" ref="message_task_1"/>
<field name="body">Ok, I have checked the mail,
I will update the document and let you know.</field>
<field name="message_type">comment</field>
<field name="author_id" ref="base.partner_demo"/>
</record>
<record id="message_task_3" model="mail.message">
<field name="model">project.task</field>
<field name="res_id" ref="project_task_22"/>
<field name="parent_id" ref="message_task_2"/>
<field name="body">Fine!
Send it ASAP, its urgent.</field>
<field name="message_type">comment</field>
<field name="author_id" ref="base.partner_root"/>
</record>
<function model="project.project" name="message_subscribe"
eval="[ref('project.project_project_1')], [ref('base.partner_demo_portal')]"/>
</data>
2018-01-16 11:34:37 +01:00
</flectra>