joseph
4 years ago
9 changed files with 210 additions and 131 deletions
-
2animal/__manifest__.py
-
5animal/security/res_groups.xml
-
136animal/views/animal.xml
-
41animal/views/menu.xml
-
1setup/animal/odoo/addons/animal
-
6setup/animal/setup.py
@ -1,41 +1,50 @@ |
|||
<odoo> |
|||
|
|||
<!-- Main Menu --> |
|||
<menuitem id="root" |
|||
<menuitem |
|||
id="root" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
web_icon="animal,static/description/icon.png"/> |
|||
<menuitem id="animal" |
|||
web_icon="animal,static/description/icon.png" |
|||
/> |
|||
<menuitem |
|||
id="animal" |
|||
name="Animals" |
|||
action="action_animal" |
|||
sequence="10" |
|||
parent="root"/> |
|||
<menuitem id="config" |
|||
parent="root" |
|||
/> |
|||
<menuitem |
|||
id="config" |
|||
name="Configuration" |
|||
sequence="100" |
|||
parent="root" |
|||
groups="group_animal_manager"/> |
|||
groups="group_animal_manager" |
|||
/> |
|||
|
|||
<!-- Configuration --> |
|||
<menuitem id="settings" |
|||
name="Settings" |
|||
sequence="10" |
|||
parent="config"/> |
|||
<menuitem id="species" |
|||
<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" |
|||
parent="config" |
|||
/> |
|||
<menuitem |
|||
id="breed" |
|||
name="Breeds" |
|||
action="action_animal_breed" |
|||
sequence="30" |
|||
parent="config"/> |
|||
<menuitem id="color" |
|||
parent="config" |
|||
/> |
|||
<menuitem |
|||
id="color" |
|||
name="Colors" |
|||
action="action_animal_color" |
|||
sequence="40" |
|||
parent="config"/> |
|||
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