diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/note/data | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/note/data')
| -rw-r--r-- | addons/note/data/mail_activity_data.xml | 12 | ||||
| -rw-r--r-- | addons/note/data/note_data.xml | 28 | ||||
| -rw-r--r-- | addons/note/data/note_demo.xml | 92 | ||||
| -rw-r--r-- | addons/note/data/res_users_data.xml | 9 |
4 files changed, 141 insertions, 0 deletions
diff --git a/addons/note/data/mail_activity_data.xml b/addons/note/data/mail_activity_data.xml new file mode 100644 index 00000000..d9345ae8 --- /dev/null +++ b/addons/note/data/mail_activity_data.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data noupdate="1"> + <record id="mail_activity_data_reminder" model="mail.activity.type"> + <field name="name">Reminder</field> + <field name="category">reminder</field> + <field name="icon">fa-tasks</field> + <field name="delay_count">0</field> + <field name="sequence">20</field> + </record> + </data> +</odoo> diff --git a/addons/note/data/note_data.xml b/addons/note/data/note_data.xml new file mode 100644 index 00000000..1843cfb9 --- /dev/null +++ b/addons/note/data/note_data.xml @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<odoo> + <data> + <record model="note.stage" id="note_stage_00"> + <field name="name">New</field> + <field name="sequence">0</field> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record model="note.stage" id="note_stage_01"> + <field name="name">Meeting Minutes</field> + <field name="sequence">5</field> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record model="note.stage" id="note_stage_02"> + <field name="name">Notes</field> + <field name="sequence">10</field> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record model="note.stage" id="note_stage_03"> + <field name="name">Todo</field> + <field name="sequence">50</field> + <field name="user_id" ref="base.user_admin"/> + </record> + </data> +</odoo> diff --git a/addons/note/data/note_demo.xml b/addons/note/data/note_demo.xml new file mode 100644 index 00000000..f395ad6b --- /dev/null +++ b/addons/note/data/note_demo.xml @@ -0,0 +1,92 @@ +<?xml version="1.0"?> +<odoo> + <data noupdate="1"> + <record id="note_1" model="note.note"> + <field name="name">Customer report #349872</field> + <field name="memo"><![CDATA[<p><b>Customer report #349872</b></p> + <p><br/></p> + <p>* Calendar app in Home</p> + <p>* The calendar module should create a menu in Home, like described above.</p> + <p>* This module should become a main application (in the first screen at installation)</p> + <p>* We should use the term Calendar, not Meeting.</p>]]> + </field> + <field name="user_id" ref="base.user_demo"/> + <field name="color">2</field> + </record> + + <record id="note_2" model="note.note"> + <field name="memo"><![CDATA[<p><b>Call Raoulette</b></p> + <p><br/></p> + <p>* Followed by the telephone conversation and mail about D.544.3</p>]]> + </field> + <field name="user_id" ref="base.user_demo"/> + </record> + + <record id="note_4" model="note.note"> + <field name="memo"><![CDATA[<p><b>Project N.947.5</b></p>]]> + </field> + <field name="stage_id" ref="note_stage_02"/> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record id="note_5" model="note.note"> + <field name="memo"><![CDATA[<p><b>Shop for family dinner</b></p> + <p><br/></p> + <ul class="o_checklist"> + <li id="checklist-id-1"><p>stuffed turkey</p></li> + <li id="checklist-id-2"><p>wine</p></li> + </ul>]]> + </field> + <field name="user_id" ref="base.user_demo"/> + </record> + + <record id="note_6" model="note.note"> + <field name="memo"><![CDATA[<p><b>Idea to develop</b></p> + <p><br/></p> + <p>* Create a module note_pad + it transforms the html editable memo text field into widget='pad', similar to project_pad depends on 'memo' and 'pad' modules</p>]]> + </field> + <field name="stage_id" ref="note_stage_02"/> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record id="note_8" model="note.note"> + <field name="memo"><![CDATA[<p><b>New computer specs</b></p> + <p><br/></p> + <ul class="o_checklist"> + <li id="checklist-id-1"><p>Motherboard according to processor </p></li> + <li id="checklist-id-2"><p>Processor need to decide </p></li> + <li id="checklist-id-3"><p>Graphic card with great performance for games ! </p></li> + <li id="checklist-id-4"><p>Hard drive big, for lot of internet backups </p></li> + <li id="checklist-id-5"><p>Tower silent, better when watching films </p></li> + <li id="checklist-id-6"><p>Blueray drive ? is it interesting yet ? </p></li> + <li id="checklist-id-7"><p>Screen a big one, full of pixels, of course !</p></li> + </ul>]]> + </field> + <field name="stage_id" ref="note_stage_03"/> + <field name="color">3</field> + <field name="user_id" ref="base.user_admin"/> + </record> + + <record id="note_9" model="note.note"> + <field name="memo"><![CDATA[<p><b>Read those books</b></p> + <p><br/></p> + <p>* Odoo: a modern approach to integrated business management</p> + <p>* Odoo for Retail and Industrial Management</p>]]> + </field> + <field name="user_id" ref="base.user_demo"/> + </record> + + <record id="note_12" model="note.note"> + <field name="memo"><![CDATA[<p><b>Read some documentation about Odoo before diving into the code</b></p> + <p><br/></p> + <p>* Odoo: a modern approach to integrated business management</p> + <p>* Odoo for Retail and Industrial Management</p>]]> + </field> + <field name="color">7</field> + <field name="stage_ids" eval="[(6,0,[ref('note_stage_03')])]"/> + <field name="user_id" ref="base.user_admin"/> + </record> + + </data> +</odoo> diff --git a/addons/note/data/res_users_data.xml b/addons/note/data/res_users_data.xml new file mode 100644 index 00000000..787bc731 --- /dev/null +++ b/addons/note/data/res_users_data.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<odoo> + <data noupdate="1"> + <function + model="res.users" + name="_init_data_user_note_stages" + eval="[]"/> + </data> +</odoo> |
