[FIX] howtos: grammatical error and xml styling

This commit is contained in:
Will Earp 2015-06-18 12:29:46 +02:00 committed by Nicolas Martinelli
parent 65b289bbb0
commit 854ce8f281
2 changed files with 5 additions and 3 deletions

View File

@ -255,7 +255,7 @@ since "Carol" is not an integer, the route was ignored and no route could be
found.
Odoo provides an additional converter called ``model`` which provides records
directly when given their id, let's use that and create a generic page for
directly when given their id. Let's use this to create a generic page for
teacher biographies:
.. patch::

View File

@ -18,7 +18,8 @@ new file mode 100644
--- /dev/null
+++ b/academy/views.xml
@@ -0,0 +1,13 @@
+<openerp><data>
+<openerp>
+ <data>
+ <record id="action_academy_teachers" model="ir.actions.act_window">
+ <field name="name">Academy teachers</field>
+ <field name="res_model">academy.teachers</field>
@ -30,4 +31,5 @@ new file mode 100644
+ <menuitem id="menu_academy_content_teachers"
+ parent="menu_academy_content"
+ action="action_academy_teachers"/>
+</data></openerp>
+ </data>
+</openerp>