joseph
4 years ago
9 changed files with 210 additions and 131 deletions
-
2animal/__manifest__.py
-
7animal/security/res_groups.xml
-
198animal/views/animal.xml
-
16animal/views/animal_breed.xml
-
20animal/views/animal_color.xml
-
14animal/views/animal_species.xml
-
77animal/views/menu.xml
-
1setup/animal/odoo/addons/animal
-
6setup/animal/setup.py
@ -1,41 +1,50 @@ |
|||
<odoo> |
|||
|
|||
<!-- Main Menu --> |
|||
<menuitem id="root" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
web_icon="animal,static/description/icon.png"/> |
|||
<menuitem id="animal" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
parent="root"/> |
|||
<menuitem id="config" |
|||
name="Configuration" |
|||
sequence="100" |
|||
parent="root" |
|||
groups="group_animal_manager"/> |
|||
<menuitem |
|||
id="root" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
web_icon="animal,static/description/icon.png" |
|||
/> |
|||
<menuitem |
|||
id="animal" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
parent="root" |
|||
/> |
|||
<menuitem |
|||
id="config" |
|||
name="Configuration" |
|||
sequence="100" |
|||
parent="root" |
|||
groups="group_animal_manager" |
|||
/> |
|||
|
|||
<!-- Configuration --> |
|||
<menuitem id="settings" |
|||
name="Settings" |
|||
sequence="10" |
|||
parent="config"/> |
|||
<menuitem id="species" |
|||
name="Species" |
|||
action="action_animal_species" |
|||
sequence="20" |
|||
parent="config"/> |
|||
<menuitem id="breed" |
|||
name="Breeds" |
|||
action="action_animal_breed" |
|||
sequence="30" |
|||
parent="config"/> |
|||
<menuitem id="color" |
|||
name="Colors" |
|||
action="action_animal_color" |
|||
sequence="40" |
|||
parent="config"/> |
|||
<menuitem id="settings" name="Settings" sequence="10" parent="config" /> |
|||
<menuitem |
|||
id="species" |
|||
name="Species" |
|||
action="action_animal_species" |
|||
sequence="20" |
|||
parent="config" |
|||
/> |
|||
<menuitem |
|||
id="breed" |
|||
name="Breeds" |
|||
action="action_animal_breed" |
|||
sequence="30" |
|||
parent="config" |
|||
/> |
|||
<menuitem |
|||
id="color" |
|||
name="Colors" |
|||
action="action_animal_color" |
|||
sequence="40" |
|||
parent="config" |
|||
/> |
|||
|
|||
</odoo> |
@ -0,0 +1 @@ |
|||
../../../../animal |
@ -0,0 +1,6 @@ |
|||
import setuptools |
|||
|
|||
setuptools.setup( |
|||
setup_requires=['setuptools-odoo'], |
|||
odoo_addon=True, |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue