diff --git a/animal/README.rst b/animal/README.rst new file mode 100644 index 00000000000..92620e73d7b --- /dev/null +++ b/animal/README.rst @@ -0,0 +1,92 @@ +====== +Animal +====== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/14.0/animal + :alt: OCA/partner-contact +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-animal + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to store animal information. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +* Go to Animals +* Create an animal by entering his name and selecting his gender, species, breed and + color. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Open Source Integrators + +Contributors +~~~~~~~~~~~~ + +* Open Source Integrators + + * Maxime Chambreuil + + * Moaad Bourhim + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px + :target: https://github.com/max3903 + :alt: max3903 + +Current `maintainer `__: + +|maintainer-max3903| + +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/animal/__init__.py b/animal/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/animal/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/animal/__manifest__.py b/animal/__manifest__.py new file mode 100644 index 00000000000..b3e9a93d827 --- /dev/null +++ b/animal/__manifest__.py @@ -0,0 +1,28 @@ +# Copyright (C) 2020 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Animal", + "version": "15.0.1.0.1", + "license": "AGPL-3", + "summary": "Manage animals information", + "author": "Open Source Integrators, Odoo Community Association (OCA)", + "maintainer": "Open Source Integrators", + "website": "https://github.com/OCA/partner-contact", + "depends": ["mail"], + "data": [ + "data/ir.module.category.csv", + "data/animal.species.csv", + "data/animal.breed.csv", + "data/animal.color.csv", + "security/res_groups.xml", + "security/ir.model.access.csv", + "views/animal_color.xml", + "views/animal_breed.xml", + "views/animal_species.xml", + "views/animal.xml", + "views/menu.xml", + ], + "application": True, + "development_status": "Beta", + "maintainers": ["max3903"], +} diff --git a/animal/data/animal.breed.csv b/animal/data/animal.breed.csv new file mode 100644 index 00000000000..df01c159faf --- /dev/null +++ b/animal/data/animal.breed.csv @@ -0,0 +1,25 @@ +id,name,species_id/id +beagle,Beagle,animal.dog +boxer,Boxer,animal.dog +bull_terrier,Bull Terrier,animal.dog +bulldog,Bulldog,animal.dog +chihuahua,Chihuahua,animal.dog +cocker,Cocker,animal.dog +collie,Collie,animal.dog +dalmatian,Dalmatian,animal.dog +dachshund,Dachshund,animal.dog +doberman,Doberman,animal.dog +english_cocker_spaniel,English Cocker Spaniel,animal.dog +french_bulldog,French Bulldog,animal.dog +german_shepard,German Shepard,animal.dog +golden_retriever,Golden Retriever,animal.dog +great_dane,Great Dane,animal.dog +jack_russell,Jack Russell,animal.dog +labrador,Labrador,animal.dog +pomeranian,Pomeranian,animal.dog +pug,Pug,animal.dog +rottweiler,Rottweiler,animal.dog +schnauzer,Schnauzer,animal.dog +shih_tzu,Shih Tzu,animal.dog +siberian_husky,Siberian Husky,animal.dog +yorkshire_terrier,Yorkshire Terrier,animal.dog diff --git a/animal/data/animal.color.csv b/animal/data/animal.color.csv new file mode 100644 index 00000000000..7b1dc2b4b85 --- /dev/null +++ b/animal/data/animal.color.csv @@ -0,0 +1,2 @@ +id,name,breed_id/id +salt,Salt and pepper,animal.schnauzer diff --git a/animal/data/animal.species.csv b/animal/data/animal.species.csv new file mode 100644 index 00000000000..ee14f37d3d9 --- /dev/null +++ b/animal/data/animal.species.csv @@ -0,0 +1,4 @@ +id,name +bird,Bird +cat,Cat +dog,Dog diff --git a/animal/data/ir.module.category.csv b/animal/data/ir.module.category.csv new file mode 100644 index 00000000000..0ba0e79a779 --- /dev/null +++ b/animal/data/ir.module.category.csv @@ -0,0 +1,2 @@ +id,name,sequence +animal,Animal,30 diff --git a/animal/i18n/animal.pot b/animal/i18n/animal.pot new file mode 100644 index 00000000000..85336f03015 --- /dev/null +++ b/animal/i18n/animal.pot @@ -0,0 +1,592 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * animal +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__active +msgid "Active" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_ids +msgid "Activities" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_state +msgid "Activity State" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: animal +#: model:ir.model,name:animal.model_animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_form +msgid "Animal" +msgstr "" + +#. module: animal +#: model:ir.model,name:animal.model_animal_breed +msgid "Animal Breeds" +msgstr "" + +#. module: animal +#: model:ir.model,name:animal.model_animal_color +msgid "Animal Colors" +msgstr "" + +#. module: animal +#: model:ir.model,name:animal.model_animal_species +msgid "Animal Species" +msgstr "" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal +#: model:ir.ui.menu,name:animal.animal model:ir.ui.menu,name:animal.root +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_tree +msgid "Animals" +msgstr "" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Archived" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_kanban +msgid "Avatar" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.beagle +msgid "Beagle" +msgstr "" + +#. module: animal +#: model:animal.species,name:animal.bird +msgid "Bird" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__birth_date +msgid "Birth Date" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.boxer +msgid "Boxer" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__breed_id +#: model:ir.model.fields,field_description:animal.field_animal_color__breed_id +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Breed" +msgstr "" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_breed +#: model:ir.model.fields,field_description:animal.field_animal_species__breed_ids +#: model:ir.ui.menu,name:animal.breed +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_tree +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form +msgid "Breeds" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.bull_terrier +msgid "Bull Terrier" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.bulldog +msgid "Bulldog" +msgstr "" + +#. module: animal +#: model:animal.species,name:animal.cat +msgid "Cat" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.chihuahua +msgid "Chihuahua" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.cocker +msgid "Cocker" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.collie +msgid "Collie" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__color_id +#: model_terms:ir.ui.view,arch_db:animal.view_animal_color_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Color" +msgstr "" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_color +#: model:ir.ui.menu,name:animal.color +msgid "Colors" +msgstr "" + +#. module: animal +#: model:ir.ui.menu,name:animal.config +msgid "Configuration" +msgstr "" + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_breed +msgid "Create a breed." +msgstr "" + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_color +msgid "Create a color." +msgstr "" + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_species +msgid "Create a species." +msgstr "" + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal +msgid "Create an animal" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_breed__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_color__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_species__create_uid +msgid "Created by" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__create_date +#: model:ir.model.fields,field_description:animal.field_animal_breed__create_date +#: model:ir.model.fields,field_description:animal.field_animal_color__create_date +#: model:ir.model.fields,field_description:animal.field_animal_species__create_date +msgid "Created on" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.dachshund +msgid "Dachshund" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.dalmatian +msgid "Dalmatian" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__display_name +#: model:ir.model.fields,field_description:animal.field_animal_breed__display_name +#: model:ir.model.fields,field_description:animal.field_animal_color__display_name +#: model:ir.model.fields,field_description:animal.field_animal_species__display_name +msgid "Display Name" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.doberman +msgid "Doberman" +msgstr "" + +#. module: animal +#: model:animal.species,name:animal.dog +msgid "Dog" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.english_cocker_spaniel +msgid "English Cocker Spaniel" +msgstr "" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__female +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Female" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.french_bulldog +msgid "French Bulldog" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__gender +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Gender" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.german_shepard +msgid "German Shepard" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.golden_retriever +msgid "Golden Retriever" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.great_dane +msgid "Great Dane" +msgstr "" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Group By" +msgstr "" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__hermaphrodite +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Hermaphrodite" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__id +#: model:ir.model.fields,field_description:animal.field_animal_breed__id +#: model:ir.model.fields,field_description:animal.field_animal_color__id +#: model:ir.model.fields,field_description:animal.field_animal_species__id +msgid "ID" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_needaction +#: model:ir.model.fields,help:animal.field_animal__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_has_error +#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__image +msgid "Image" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.jack_russell +msgid "Jack Russell" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.labrador +msgid "Labrador" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal____last_update +#: model:ir.model.fields,field_description:animal.field_animal_breed____last_update +#: model:ir.model.fields,field_description:animal.field_animal_color____last_update +#: model:ir.model.fields,field_description:animal.field_animal_species____last_update +msgid "Last Modified on" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_breed__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_color__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_species__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__write_date +#: model:ir.model.fields,field_description:animal.field_animal_breed__write_date +#: model:ir.model.fields,field_description:animal.field_animal_color__write_date +#: model:ir.model.fields,field_description:animal.field_animal_species__write_date +msgid "Last Updated on" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__male +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Male" +msgstr "" + +#. module: animal +#: model:res.groups,name:animal.group_animal_manager +msgid "Manager" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_ids +msgid "Messages" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__name +#: model:ir.model.fields,field_description:animal.field_animal_breed__name +#: model:ir.model.fields,field_description:animal.field_animal_color__name +#: model:ir.model.fields,field_description:animal.field_animal_species__name +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Name" +msgstr "" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__neutered +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Neutered" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.pomeranian +msgid "Pomeranian" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.pug +msgid "Pug" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__ref +msgid "Reference" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.rottweiler +msgid "Rottweiler" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: animal +#: model:animal.color,name:animal.salt +msgid "Salt and pepper" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.schnauzer +msgid "Schnauzer" +msgstr "" + +#. module: animal +#: model:ir.ui.menu,name:animal.settings +msgid "Settings" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.shih_tzu +msgid "Shih Tzu" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.siberian_husky +msgid "Siberian Husky" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__size +msgid "Size" +msgstr "" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_species +#: model:ir.model.fields,field_description:animal.field_animal__species_id +#: model:ir.model.fields,field_description:animal.field_animal_breed__species_id +#: model:ir.model.fields,field_description:animal.field_animal_color__species_id +#: model:ir.ui.menu,name:animal.species +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_tree +msgid "Species" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__image +msgid "This field holds the photo of the animal." +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__weight +msgid "Weight (in kg)" +msgstr "" + +#. module: animal +#: model:animal.breed,name:animal.yorkshire_terrier +msgid "Yorkshire Terrier" +msgstr "" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_color_tree +msgid "colors" +msgstr "" diff --git a/animal/i18n/es.po b/animal/i18n/es.po new file mode 100644 index 00000000000..50b94c38254 --- /dev/null +++ b/animal/i18n/es.po @@ -0,0 +1,603 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * animal +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-09 21:15+0000\n" +"PO-Revision-Date: 2021-07-08 14:48+0000\n" +"Last-Translator: Esteka Digital \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_needaction +msgid "Action Needed" +msgstr "Acción requerida" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__active +msgid "Active" +msgstr "Activo" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_ids +msgid "Activities" +msgstr "Actividades" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "Decoración de excepción de actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_state +msgid "Activity State" +msgstr "Estado de la actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_type_icon +msgid "Activity Type Icon" +msgstr "Icono de tipo de actividad" + +#. module: animal +#: model:ir.model,name:animal.model_animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_form +msgid "Animal" +msgstr "Animal" + +#. module: animal +#: model:ir.model,name:animal.model_animal_breed +msgid "Animal Breeds" +msgstr "Razas" + +#. module: animal +#: model:ir.model,name:animal.model_animal_color +msgid "Animal Colors" +msgstr "Colores" + +#. module: animal +#: model:ir.model,name:animal.model_animal_species +msgid "Animal Species" +msgstr "Especies" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal +#: model:ir.ui.menu,name:animal.animal model:ir.ui.menu,name:animal.root +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_tree +msgid "Animals" +msgstr "Animales" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Archived" +msgstr "Archivado" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_attachment_count +msgid "Attachment Count" +msgstr "Número de archivos" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_kanban +msgid "Avatar" +msgstr "Avatar" + +#. module: animal +#: model:animal.breed,name:animal.beagle +msgid "Beagle" +msgstr "Beagle" + +#. module: animal +#: model:animal.species,name:animal.bird +msgid "Bird" +msgstr "Pájaro" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__birth_date +msgid "Birth Date" +msgstr "Fecha de nacimiento" + +#. module: animal +#: model:animal.breed,name:animal.boxer +msgid "Boxer" +msgstr "Boxer" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__breed_id +#: model:ir.model.fields,field_description:animal.field_animal_color__breed_id +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Breed" +msgstr "Raza" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_breed +#: model:ir.model.fields,field_description:animal.field_animal_species__breed_ids +#: model:ir.ui.menu,name:animal.breed +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_tree +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form +msgid "Breeds" +msgstr "Razas" + +#. module: animal +#: model:animal.breed,name:animal.bull_terrier +msgid "Bull Terrier" +msgstr "Bull Terrier" + +#. module: animal +#: model:animal.breed,name:animal.bulldog +msgid "Bulldog" +msgstr "Bulldog" + +#. module: animal +#: model:animal.species,name:animal.cat +msgid "Cat" +msgstr "Gato" + +#. module: animal +#: model:animal.breed,name:animal.chihuahua +msgid "Chihuahua" +msgstr "Chihuahua" + +#. module: animal +#: model:animal.breed,name:animal.cocker +msgid "Cocker" +msgstr "Cocker" + +#. module: animal +#: model:animal.breed,name:animal.collie +msgid "Collie" +msgstr "Collie" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__color_id +#: model_terms:ir.ui.view,arch_db:animal.view_animal_color_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Color" +msgstr "Color" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_color +#: model:ir.ui.menu,name:animal.color +msgid "Colors" +msgstr "Colores" + +#. module: animal +#: model:ir.ui.menu,name:animal.config +msgid "Configuration" +msgstr "Configuración" + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_breed +msgid "Create a breed." +msgstr "Crear una raza." + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_color +msgid "Create a color." +msgstr "Crear un color." + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal_species +msgid "Create a species." +msgstr "Crear un especie." + +#. module: animal +#: model_terms:ir.actions.act_window,help:animal.action_animal +msgid "Create an animal" +msgstr "Crear un animal" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_breed__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_color__create_uid +#: model:ir.model.fields,field_description:animal.field_animal_species__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__create_date +#: model:ir.model.fields,field_description:animal.field_animal_breed__create_date +#: model:ir.model.fields,field_description:animal.field_animal_color__create_date +#: model:ir.model.fields,field_description:animal.field_animal_species__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: animal +#: model:animal.breed,name:animal.dachshund +msgid "Dachshund" +msgstr "Dachshund" + +#. module: animal +#: model:animal.breed,name:animal.dalmatian +msgid "Dalmatian" +msgstr "Dálmata" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__display_name +#: model:ir.model.fields,field_description:animal.field_animal_breed__display_name +#: model:ir.model.fields,field_description:animal.field_animal_color__display_name +#: model:ir.model.fields,field_description:animal.field_animal_species__display_name +msgid "Display Name" +msgstr "Nombre" + +#. module: animal +#: model:animal.breed,name:animal.doberman +msgid "Doberman" +msgstr "Doberman" + +#. module: animal +#: model:animal.species,name:animal.dog +msgid "Dog" +msgstr "Perro" + +#. module: animal +#: model:animal.breed,name:animal.english_cocker_spaniel +msgid "English Cocker Spaniel" +msgstr "Cocker Spaniel Inglés" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__female +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Female" +msgstr "Hembra" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_follower_ids +msgid "Followers" +msgstr "Seguidores" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_channel_ids +msgid "Followers (Channels)" +msgstr "Seguidores (Canales)" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_partner_ids +msgid "Followers (Partners)" +msgstr "Seguidores (Contactos)" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "Font awesome icon ej. fa-tasks" + +#. module: animal +#: model:animal.breed,name:animal.french_bulldog +msgid "French Bulldog" +msgstr "Bulldog Francés" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__gender +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Gender" +msgstr "Género" + +#. module: animal +#: model:animal.breed,name:animal.german_shepard +msgid "German Shepard" +msgstr "Pastor Alemán" + +#. module: animal +#: model:animal.breed,name:animal.golden_retriever +msgid "Golden Retriever" +msgstr "Golden Retriever" + +#. module: animal +#: model:animal.breed,name:animal.great_dane +msgid "Great Dane" +msgstr "Gran Danés" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Group By" +msgstr "Agrupar por" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__hermaphrodite +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Hermaphrodite" +msgstr "Hermafrodita" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__id +#: model:ir.model.fields,field_description:animal.field_animal_breed__id +#: model:ir.model.fields,field_description:animal.field_animal_color__id +#: model:ir.model.fields,field_description:animal.field_animal_species__id +msgid "ID" +msgstr "Id" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_exception_icon +msgid "Icon" +msgstr "Ícono" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "Ícono para indicar una actividad de excepción." + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_needaction +#: model:ir.model.fields,help:animal.field_animal__message_unread +msgid "If checked, new messages require your attention." +msgstr "Si está marcado, nuevos mensajes requieren tu atención." + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_has_error +#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "Si está marcado, algunos mensajes tienen un error en la entrega." + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__image +msgid "Image" +msgstr "Imagen" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_is_follower +msgid "Is Follower" +msgstr "Es un seguidor" + +#. module: animal +#: model:animal.breed,name:animal.jack_russell +msgid "Jack Russell" +msgstr "Jack Russell" + +#. module: animal +#: model:animal.breed,name:animal.labrador +msgid "Labrador" +msgstr "Labrador" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal____last_update +#: model:ir.model.fields,field_description:animal.field_animal_breed____last_update +#: model:ir.model.fields,field_description:animal.field_animal_color____last_update +#: model:ir.model.fields,field_description:animal.field_animal_species____last_update +msgid "Last Modified on" +msgstr "Ultima modificación el" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_breed__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_color__write_uid +#: model:ir.model.fields,field_description:animal.field_animal_species__write_uid +msgid "Last Updated by" +msgstr "Ultima modificación por" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__write_date +#: model:ir.model.fields,field_description:animal.field_animal_breed__write_date +#: model:ir.model.fields,field_description:animal.field_animal_color__write_date +#: model:ir.model.fields,field_description:animal.field_animal_species__write_date +msgid "Last Updated on" +msgstr "Ultima modificación el" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_main_attachment_id +msgid "Main Attachment" +msgstr "Adjunto principal" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__male +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Male" +msgstr "Macho" + +#. module: animal +#: model:res.groups,name:animal.group_animal_manager +msgid "Manager" +msgstr "Gerente" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_error +msgid "Message Delivery error" +msgstr "Error de entrega del mensaje" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_ids +msgid "Messages" +msgstr "Mensajes" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "Fecha límite de Mi Actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__name +#: model:ir.model.fields,field_description:animal.field_animal_breed__name +#: model:ir.model.fields,field_description:animal.field_animal_color__name +#: model:ir.model.fields,field_description:animal.field_animal_species__name +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Name" +msgstr "Nombre" + +#. module: animal +#: model:ir.model.fields.selection,name:animal.selection__animal__gender__neutered +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +msgid "Neutered" +msgstr "Castrado/a" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "Fecha límite de la próxima actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_summary +msgid "Next Activity Summary" +msgstr "Resumen de la próxima actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_type_id +msgid "Next Activity Type" +msgstr "Tipo de la próxima actividad" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_needaction_counter +msgid "Number of Actions" +msgstr "Número de acciones" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_error_counter +msgid "Number of errors" +msgstr "Número de errores" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "Número de mensajes que requieren una acción" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "Número de mensajes con error de entrega" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__message_unread_counter +msgid "Number of unread messages" +msgstr "Número de mensajes sin leer" + +#. module: animal +#: model:animal.breed,name:animal.pomeranian +msgid "Pomeranian" +msgstr "Pomerania" + +#. module: animal +#: model:animal.breed,name:animal.pug +msgid "Pug" +msgstr "Pug" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__ref +msgid "Reference" +msgstr "Referencia" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__activity_user_id +msgid "Responsible User" +msgstr "Usuario responsable" + +#. module: animal +#: model:animal.breed,name:animal.rottweiler +msgid "Rottweiler" +msgstr "Rottweiler" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error +msgid "SMS Delivery error" +msgstr "Error de entrega de SMS" + +#. module: animal +#: model:animal.color,name:animal.salt +msgid "Salt and pepper" +msgstr "Sal y pimienta" + +#. module: animal +#: model:animal.breed,name:animal.schnauzer +msgid "Schnauzer" +msgstr "Schnauzer" + +#. module: animal +#: model:ir.ui.menu,name:animal.settings +msgid "Settings" +msgstr "Ajustes" + +#. module: animal +#: model:animal.breed,name:animal.shih_tzu +msgid "Shih Tzu" +msgstr "Shih Tzu" + +#. module: animal +#: model:animal.breed,name:animal.siberian_husky +msgid "Siberian Husky" +msgstr "Husky Siberiano" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__size +msgid "Size" +msgstr "Tamaño" + +#. module: animal +#: model:ir.actions.act_window,name:animal.action_animal_species +#: model:ir.model.fields,field_description:animal.field_animal__species_id +#: model:ir.model.fields,field_description:animal.field_animal_breed__species_id +#: model:ir.model.fields,field_description:animal.field_animal_color__species_id +#: model:ir.ui.menu,name:animal.species +#: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_tree +msgid "Species" +msgstr "Especies" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" +"Estado basado en actividades\n" +"Atrasado: La fecha de vencimiento ya ha pasado\n" +"Hoy: La fecha de la actividad es hoy\n" +"Planeado: Actividades futuras." + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__image +msgid "This field holds the photo of the animal." +msgstr "Foto del animal." + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "Tipo de actividad de excepción registrada." + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_unread +msgid "Unread Messages" +msgstr "Nuevos mensajes" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__message_unread_counter +msgid "Unread Messages Counter" +msgstr "Contador de mensajes sin leer" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__website_message_ids +msgid "Website Messages" +msgstr "Mensajes del sitio Web" + +#. module: animal +#: model:ir.model.fields,help:animal.field_animal__website_message_ids +msgid "Website communication history" +msgstr "Historial de comunicaciones Web" + +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal__weight +msgid "Weight (in kg)" +msgstr "Peso (en kg)" + +#. module: animal +#: model:animal.breed,name:animal.yorkshire_terrier +msgid "Yorkshire Terrier" +msgstr "Yorkshire Terrier" + +#. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_color_tree +msgid "colors" +msgstr "colores" + +#~ msgid "Create an animal." +#~ msgstr "Crear un animal." diff --git a/animal/models/__init__.py b/animal/models/__init__.py new file mode 100644 index 00000000000..54f9292046b --- /dev/null +++ b/animal/models/__init__.py @@ -0,0 +1,6 @@ +from . import ( + animal_species, + animal_breed, + animal_color, + animal, +) diff --git a/animal/models/animal.py b/animal/models/animal.py new file mode 100644 index 00000000000..f1b1baf1091 --- /dev/null +++ b/animal/models/animal.py @@ -0,0 +1,41 @@ +# Copyright (C) 2020 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import api, fields, models + + +class Animal(models.Model): + _name = "animal" + _description = "Animal" + _inherit = ["mail.thread", "mail.activity.mixin"] + _order = "name" + + name = fields.Char() + ref = fields.Char(string="Reference") + species_id = fields.Many2one("animal.species", string="Species", required=True) + breed_id = fields.Many2one("animal.breed", string="Breed", required=True) + color_id = fields.Many2one("animal.color", string="Color") + size = fields.Char() + weight = fields.Float(string="Weight (in kg)") + birth_date = fields.Date() + gender = fields.Selection( + selection=[ + ("female", "Female"), + ("male", "Male"), + ("hermaphrodite", "Hermaphrodite"), + ("neutered", "Neutered"), + ], + default="female", + required=True, + ) + active = fields.Boolean(default=True) + image = fields.Binary( + attachment=True, help="This field holds the photo of the animal." + ) + + @api.onchange("species_id") + def onchange_species(self): + self.breed_id = False + + @api.onchange("breed_id") + def onchange_breed(self): + self.color_id = False diff --git a/animal/models/animal_breed.py b/animal/models/animal_breed.py new file mode 100644 index 00000000000..28e99267da4 --- /dev/null +++ b/animal/models/animal_breed.py @@ -0,0 +1,12 @@ +# Copyright (C) 2020 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class AnimalBreed(models.Model): + _name = "animal.breed" + _description = "Animal Breeds" + _order = "name" + + name = fields.Char(translate=True) + species_id = fields.Many2one("animal.species", string="Species", required=True) diff --git a/animal/models/animal_color.py b/animal/models/animal_color.py new file mode 100644 index 00000000000..4490d981180 --- /dev/null +++ b/animal/models/animal_color.py @@ -0,0 +1,14 @@ +# Copyright (C) 2020 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class AnimalColor(models.Model): + _name = "animal.color" + _description = "Animal Colors" + + name = fields.Char(translate=True) + breed_id = fields.Many2one("animal.breed", string="Breed", required=True) + species_id = fields.Many2one( + "animal.species", string="Species", related="breed_id.species_id", readonly=True + ) diff --git a/animal/models/animal_species.py b/animal/models/animal_species.py new file mode 100644 index 00000000000..2b1e23b2462 --- /dev/null +++ b/animal/models/animal_species.py @@ -0,0 +1,12 @@ +# Copyright (C) 2020 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class AnimalSpecies(models.Model): + _name = "animal.species" + _description = "Animal Species" + _order = "name" + + name = fields.Char(translate=True) + breed_ids = fields.One2many("animal.breed", "species_id", string="Breeds") diff --git a/animal/readme/CONTRIBUTORS.rst b/animal/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..2551c4c4769 --- /dev/null +++ b/animal/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Open Source Integrators + + * Maxime Chambreuil + * moaad Bourhim diff --git a/animal/readme/DESCRIPTION.rst b/animal/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..5299ccfbf67 --- /dev/null +++ b/animal/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module allows you to store animal information. diff --git a/animal/readme/USAGE.rst b/animal/readme/USAGE.rst new file mode 100644 index 00000000000..00b41732f48 --- /dev/null +++ b/animal/readme/USAGE.rst @@ -0,0 +1,3 @@ +* Go to Animals +* Create an animal by entering his name and selecting his gender, species, breed and + color. diff --git a/animal/security/ir.model.access.csv b/animal/security/ir.model.access.csv new file mode 100644 index 00000000000..e52e11b05e2 --- /dev/null +++ b/animal/security/ir.model.access.csv @@ -0,0 +1,8 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_animal_user,animal.user,model_animal,base.group_user,1,1,1,1 +access_animal_color_user,animal.color.user,model_animal_color,base.group_user,1,0,0,0 +access_animal_color_manager,animal.color.manaager,model_animal_color,animal.group_animal_manager,1,1,1,1 +access_animal_breed_user,animal.breed.user,model_animal_breed,base.group_user,1,0,0,0 +access_animal_breed_manager,animal.breed.manager,model_animal_breed,animal.group_animal_manager,1,1,1,1 +access_animal_species_user,animal.species.user,model_animal_species,base.group_user,1,0,0,0 +access_animal_species_manager,animal.species.manager,model_animal_species,animal.group_animal_manager,1,1,1,0 diff --git a/animal/security/res_groups.xml b/animal/security/res_groups.xml new file mode 100644 index 00000000000..1eeeb9226c5 --- /dev/null +++ b/animal/security/res_groups.xml @@ -0,0 +1,13 @@ + + + + + Manager + + + + + diff --git a/animal/static/description/icon.png b/animal/static/description/icon.png new file mode 100644 index 00000000000..30c21221f00 Binary files /dev/null and b/animal/static/description/icon.png differ diff --git a/animal/static/description/index.html b/animal/static/description/index.html new file mode 100644 index 00000000000..66dc65c8cd6 --- /dev/null +++ b/animal/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Animal + + + +
+

Animal

+ + +

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

+

This module allows you to store animal information.

+

Table of contents

+ +
+

Usage

+
    +
  • Go to Animals
  • +
  • Create an animal by entering his name and selecting his gender, species, breed and +color.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Open Source Integrators
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

max3903

+

This module is part of the OCA/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/animal/static/img/avatar.png b/animal/static/img/avatar.png new file mode 100644 index 00000000000..56efa764e3e Binary files /dev/null and b/animal/static/img/avatar.png differ diff --git a/animal/views/animal.xml b/animal/views/animal.xml new file mode 100644 index 00000000000..f0f28fbbf59 --- /dev/null +++ b/animal/views/animal.xml @@ -0,0 +1,217 @@ + + + + + animal.tree + animal + + + + + + + + + + + + + + + animal.form + animal + +
+ + + + +
+

+ +

+ +
+ + + + + + + + + + + + + +
+
+ + + +
+
+
+
+ + + + animal.kanban + animal + + + + + + + +
+ + + + + Avatar + +
+ + + +
+
    +
  • + +
  • +
  • + + +
  • +
+ +
+ + + + + + + + + animal.search + animal + + + + + + + + + + + + + + + + + + + + + + + + + + + Animals + animal + kanban,tree,form + + +

Create an animal

+
+
+ + diff --git a/animal/views/animal_breed.xml b/animal/views/animal_breed.xml new file mode 100644 index 00000000000..6f6250b8410 --- /dev/null +++ b/animal/views/animal_breed.xml @@ -0,0 +1,52 @@ + + + + + view.animal.breed.tree + animal.breed + + + + + + + + + + + view.animal.breed.form + animal.breed + +
+
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + Breeds + animal.breed + tree,form + +

+ Create a breed. +

+
+
+ + diff --git a/animal/views/animal_color.xml b/animal/views/animal_color.xml new file mode 100644 index 00000000000..55bfad2cc5b --- /dev/null +++ b/animal/views/animal_color.xml @@ -0,0 +1,54 @@ + + + + + view.animal.color.tree + animal.color + + + + + + + + + + + + view.animal.color.form + animal.color + +
+
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + + Colors + animal.color + tree,form + +

+ Create a color. +

+
+
+ + diff --git a/animal/views/animal_species.xml b/animal/views/animal_species.xml new file mode 100644 index 00000000000..16d89159c7c --- /dev/null +++ b/animal/views/animal_species.xml @@ -0,0 +1,53 @@ + + + + + view.animal.species.tree + animal.species + + + + + + + + + + view.animal.species.form + animal.species + +
+
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + + + Species + animal.species + tree,form + +

+ Create a species. +

+
+
+ + diff --git a/animal/views/menu.xml b/animal/views/menu.xml new file mode 100644 index 00000000000..5c1e69279e3 --- /dev/null +++ b/animal/views/menu.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + diff --git a/setup/animal/odoo/addons/animal b/setup/animal/odoo/addons/animal new file mode 120000 index 00000000000..1f4a4d7159a --- /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 00000000000..28c57bb6403 --- /dev/null +++ b/setup/animal/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)