Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
43523d4e
Commit
43523d4e
authored
11 years ago
by
Xavier Morel
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] add xmlid to lectures so they don't get duplicated on -i updates
parent
2f260932
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/howto/howto_website.rst
+0
-2
0 additions, 2 deletions
doc/howto/howto_website.rst
doc/howto/howto_website/lectures-model-add
+6
-6
6 additions, 6 deletions
doc/howto/howto_website/lectures-model-add
with
6 additions
and
8 deletions
doc/howto/howto_website.rst
+
0
−
2
View file @
43523d4e
...
...
@@ -445,8 +445,6 @@ Let us, then, create a menu and an action for our lectures:
.. patch::
.. todo:: reinstall module? update?
If you reload the backend, you should see a new menu :menuselection:`Academy`
at the top-left corner, before :menuselection:`Messaging`. In it is the
submenus we defined via ``menuitem``, and within (the first submenu is
...
...
This diff is collapsed.
Click to expand it.
doc/howto/howto_website/lectures-model-add
+
6
−
6
View file @
43523d4e
# HG changeset patch
# Parent
dc6e1146075f61db66b1f7d2b7d3b8e76341e7bb
# Parent
cd98e5752eedca2780da80387ac01c8cd166940f
diff --git a/__openerp__.py b/__openerp__.py
--- a/__openerp__.py
...
...
@@ -38,23 +38,23 @@ new file mode 100644
@@ -0,0 +1,24 @@
+<openerp>
+ <data>
+ <record model="academy.lectures">
+ <record model="academy.lectures"
id="lecture1"
>
+ <field name="name">Lecture 1</field>
+ <field name="date">2014-01-06</field>
+ </record>
+ <record model="academy.lectures">
+ <record model="academy.lectures"
id="lecture2"
>
+ <field name="name">Lecture 2</field>
+ <field name="date">2014-01-08</field>
+ </record>
+ <record model="academy.lectures">
+ <record model="academy.lectures"
id="lecture3"
>
+ <field name="name">Lecture 3</field>
+ <field name="date">2014-01-10</field>
+ </record>
+ <record model="academy.lectures">
+ <record model="academy.lectures"
id="lecture4"
>
+ <field name="name">Lecture 4</field>
+ <field name="date">2014-01-13</field>
+ </record>
+ <record model="academy.lectures">
+ <record model="academy.lectures"
id="lecture5"
>
+ <field name="name">Lecture 5</field>
+ <field name="date">2014-01-15</field>
+ </record>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment