From f839fc2c0aaecf25c8f06b536248b5ad20df9dae Mon Sep 17 00:00:00 2001 From: joseph Date: Mon, 8 Mar 2021 22:31:22 +0000 Subject: [PATCH] [IMP] animal: black, isort, prettier --- animal/__manifest__.py | 2 +- animal/security/res_groups.xml | 7 +- animal/views/animal.xml | 198 +++++++++++++++++++++----------- animal/views/animal_breed.xml | 16 +-- animal/views/animal_color.xml | 20 ++-- animal/views/animal_species.xml | 14 +-- animal/views/menu.xml | 77 +++++++------ setup/animal/odoo/addons/animal | 1 + setup/animal/setup.py | 6 + 9 files changed, 210 insertions(+), 131 deletions(-) create mode 120000 setup/animal/odoo/addons/animal create mode 100644 setup/animal/setup.py diff --git a/animal/__manifest__.py b/animal/__manifest__.py index fba2e5d5c..f4982e5c5 100644 --- a/animal/__manifest__.py +++ b/animal/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Animal", - "version": "12.0.1.0.0", + "version": "14.0.1.0.0", "license": "AGPL-3", "summary": "Manage animals information", "author": "Open Source Integrators, Odoo Community Association (OCA)", diff --git a/animal/security/res_groups.xml b/animal/security/res_groups.xml index 851c584b2..1eeeb9226 100644 --- a/animal/security/res_groups.xml +++ b/animal/security/res_groups.xml @@ -3,8 +3,11 @@ Manager - - + + diff --git a/animal/views/animal.xml b/animal/views/animal.xml index 0b55c0c3a..03708e58a 100644 --- a/animal/views/animal.xml +++ b/animal/views/animal.xml @@ -6,12 +6,12 @@ animal - - - - - - + + + + + + @@ -22,44 +22,62 @@ animal
-
+
-
- +

- +

- +
- - - - + + + + - - - + + + - +
- - - + + +
@@ -71,26 +89,46 @@ animal - - - + + + -
+
- + - Avatar + Avatar
- -
+ +
    -
  • -
  • ,
  • +
  • +
  • ,
- @@ -105,36 +143,58 @@ animal - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + @@ -145,7 +205,7 @@ animal form kanban,tree,form - +

Create an animal. diff --git a/animal/views/animal_breed.xml b/animal/views/animal_breed.xml index 621d54155..627f39dba 100644 --- a/animal/views/animal_breed.xml +++ b/animal/views/animal_breed.xml @@ -6,8 +6,8 @@ animal.breed - - + + @@ -18,21 +18,21 @@ animal.breed

-
+
-
+

- +

- + - + - + diff --git a/animal/views/animal_color.xml b/animal/views/animal_color.xml index 2c569eb9e..5e9bd538c 100644 --- a/animal/views/animal_color.xml +++ b/animal/views/animal_color.xml @@ -6,9 +6,9 @@ animal.color - - - + + + @@ -19,22 +19,22 @@ animal.color
-
+
-
+

- +

- - + + - + - + diff --git a/animal/views/animal_species.xml b/animal/views/animal_species.xml index c93641e54..c9e905e2a 100644 --- a/animal/views/animal_species.xml +++ b/animal/views/animal_species.xml @@ -6,7 +6,7 @@ animal.species - + @@ -17,21 +17,21 @@ animal.species
-
+
-
+

- +

- - + + - + diff --git a/animal/views/menu.xml b/animal/views/menu.xml index 259bbbe1d..5c1e69279 100644 --- a/animal/views/menu.xml +++ b/animal/views/menu.xml @@ -1,41 +1,50 @@ - - - + + + - - - - + + + + diff --git a/setup/animal/odoo/addons/animal b/setup/animal/odoo/addons/animal new file mode 120000 index 000000000..1f4a4d715 --- /dev/null +++ b/setup/animal/odoo/addons/animal @@ -0,0 +1 @@ +../../../../animal \ No newline at end of file diff --git a/setup/animal/setup.py b/setup/animal/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/animal/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)