diff --git a/README.md b/README.md index f601f5d..3b4fc1a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ addon | version | summary [base_location_nuts](base_location_nuts/) | 2.0.1.0.1| NUTS Regions [partner_industry_secondary](partner_industry_secondary/) | 2.0.1.0.0| Add secondary partner industries [partner_contact_gender](partner_contact_gender/) | 2.0.1.0.1| Add gender field to contacts -[animal](animal/) | 2.0.1.0.1| Manage animals information +[animal](animal/) | 2.0.1.1.0| Manage animals information [partner_title_order](partner_title_order/) | 2.0.1.0.0| Makes partner title sortable by sequence [partner_priority](partner_priority/) | 2.0.1.0.0| Adds priority to partners. [partner_disable_gravatar](partner_disable_gravatar/) | 2.0.1.0.0| Disable automatic connection to gravatar.com @@ -63,7 +63,7 @@ addon | version | summary [partner_identification](partner_identification/) | 2.0.1.3.0| Partner Identification Numbers [partner_address_version](partner_address_version/) | 2.0.1.0.0| Partner Address Version [base_partner_sequence](base_partner_sequence/) | 2.0.1.0.1| Sets customer's code from a sequence -[animal_owner](animal_owner/) | 2.0.1.1.1| Add owner to the animal +[animal_owner](animal_owner/) | 2.0.1.2.0| Add owner to the animal [partner_iterative_archive](partner_iterative_archive/) | 2.0.1.0.1| Archive all contacts when parent is archived [partner_deduplicate_by_website](partner_deduplicate_by_website/) | 2.0.1.0.0| Deduplicate Contacts by Website [partner_contact_age_range](partner_contact_age_range/) | 2.0.1.0.1| Age Range for Contact's diff --git a/animal/__manifest__.py b/animal/__manifest__.py index c6d96c3..28104d2 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": "2.0.1.0.1", + "version": "2.0.1.1.0", "license": "AGPL-3", "summary": "Manage animals information", "author": "Open Source Integrators, Odoo Community Association (OCA)", diff --git a/animal/i18n/animal.pot b/animal/i18n/animal.pot index 85336f0..9367367 100644 --- a/animal/i18n/animal.pot +++ b/animal/i18n/animal.pot @@ -20,6 +20,8 @@ msgstr "" #. module: animal #: model:ir.model.fields,field_description:animal.field_animal__active +#: model:ir.model.fields,field_description:animal.field_animal_breed__active +#: model:ir.model.fields,field_description:animal.field_animal_species__active msgid "Active" msgstr "" @@ -73,8 +75,10 @@ msgid "Animals" msgstr "" #. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form msgid "Archived" msgstr "" @@ -505,6 +509,12 @@ msgstr "" msgid "Schnauzer" msgstr "" +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal_breed__sequence +#: model:ir.model.fields,field_description:animal.field_animal_species__sequence +msgid "Sequence" +msgstr "" + #. module: animal #: model:ir.ui.menu,name:animal.settings msgid "Settings" diff --git a/animal/i18n/es.po b/animal/i18n/es.po index 50b94c3..5bfc433 100644 --- a/animal/i18n/es.po +++ b/animal/i18n/es.po @@ -24,6 +24,8 @@ msgstr "Acción requerida" #. module: animal #: model:ir.model.fields,field_description:animal.field_animal__active +#: model:ir.model.fields,field_description:animal.field_animal_breed__active +#: model:ir.model.fields,field_description:animal.field_animal_species__active msgid "Active" msgstr "Activo" @@ -77,8 +79,10 @@ msgid "Animals" msgstr "Animales" #. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form msgid "Archived" msgstr "Archivado" @@ -509,6 +513,12 @@ msgstr "Sal y pimienta" msgid "Schnauzer" msgstr "Schnauzer" +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal_breed__sequence +#: model:ir.model.fields,field_description:animal.field_animal_species__sequence +msgid "Sequence" +msgstr "" + #. module: animal #: model:ir.ui.menu,name:animal.settings msgid "Settings" diff --git a/animal/i18n/fr.po b/animal/i18n/fr.po index bea1eab..820df69 100644 --- a/animal/i18n/fr.po +++ b/animal/i18n/fr.po @@ -23,6 +23,8 @@ msgstr "" #. module: animal #: model:ir.model.fields,field_description:animal.field_animal__active +#: model:ir.model.fields,field_description:animal.field_animal_breed__active +#: model:ir.model.fields,field_description:animal.field_animal_species__active msgid "Active" msgstr "" @@ -76,8 +78,10 @@ msgid "Animals" msgstr "Animaux" #. module: animal +#: model_terms:ir.ui.view,arch_db:animal.view_animal_breed_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_form #: model_terms:ir.ui.view,arch_db:animal.view_animal_search +#: model_terms:ir.ui.view,arch_db:animal.view_animal_species_form msgid "Archived" msgstr "Archivé" @@ -508,6 +512,12 @@ msgstr "" msgid "Schnauzer" msgstr "" +#. module: animal +#: model:ir.model.fields,field_description:animal.field_animal_breed__sequence +#: model:ir.model.fields,field_description:animal.field_animal_species__sequence +msgid "Sequence" +msgstr "" + #. module: animal #: model:ir.ui.menu,name:animal.settings msgid "Settings" diff --git a/animal/models/animal_breed.py b/animal/models/animal_breed.py index cf8666b..bd96964 100644 --- a/animal/models/animal_breed.py +++ b/animal/models/animal_breed.py @@ -10,3 +10,5 @@ class AnimalBreed(models.Model): name = fields.Char(string="Name", translate=True) species_id = fields.Many2one("animal.species", string="Species", required=True) + active = fields.Boolean(default=True) + sequence = fields.Integer() diff --git a/animal/models/animal_species.py b/animal/models/animal_species.py index d3aa07a..0c32d30 100644 --- a/animal/models/animal_species.py +++ b/animal/models/animal_species.py @@ -9,4 +9,6 @@ class AnimalSpecies(models.Model): _order = "name" name = fields.Char(string="Name", translate=True) + active = fields.Boolean(default=True) + sequence = fields.Integer() breed_ids = fields.One2many("animal.breed", "species_id", string="Breeds") diff --git a/animal/security/ir.model.access.csv b/animal/security/ir.model.access.csv index e52e11b..c849815 100644 --- a/animal/security/ir.model.access.csv +++ b/animal/security/ir.model.access.csv @@ -5,4 +5,4 @@ access_animal_color_manager,animal.color.manaager,model_animal_color,animal.grou 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 +access_animal_species_manager,animal.species.manager,model_animal_species,animal.group_animal_manager,1,1,1,1 diff --git a/animal/views/animal_breed.xml b/animal/views/animal_breed.xml index 3ab54fe..5b38dc4 100644 --- a/animal/views/animal_breed.xml +++ b/animal/views/animal_breed.xml @@ -6,6 +6,7 @@ animal.breed + @@ -21,6 +22,13 @@
+ +

diff --git a/animal/views/animal_species.xml b/animal/views/animal_species.xml index 97e34bb..a549f8a 100644 --- a/animal/views/animal_species.xml +++ b/animal/views/animal_species.xml @@ -6,6 +6,7 @@ animal.species + @@ -20,6 +21,13 @@
+ +

diff --git a/animal_owner/__manifest__.py b/animal_owner/__manifest__.py index d155bda..bad8783 100644 --- a/animal_owner/__manifest__.py +++ b/animal_owner/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Animal Owner", - "version": "2.0.1.1.1", + "version": "2.0.1.2.0", "license": "AGPL-3", "summary": "Add owner to the animal", "author": "Open Source Integrators, Odoo Community Association (OCA)", diff --git a/animal_owner/views/animal.xml b/animal_owner/views/animal.xml index 1011dd3..a68c633 100644 --- a/animal_owner/views/animal.xml +++ b/animal_owner/views/animal.xml @@ -18,7 +18,7 @@ animal - + diff --git a/base_location/i18n/nl.po b/base_location/i18n/nl.po index b718051..e969778 100644 --- a/base_location/i18n/nl.po +++ b/base_location/i18n/nl.po @@ -9,15 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-13 03:42+0000\n" -"PO-Revision-Date: 2020-03-10 15:13+0000\n" -"Last-Translator: Yenthe V.G \n" +"PO-Revision-Date: 2022-02-07 19:59+0000\n" +"Last-Translator: Bosd \n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10\n" +"X-Generator: Weblate 4.3.2\n" #. module: base_location #: model:res.city,name:base_location.demo_brussels_city @@ -103,10 +103,11 @@ msgstr "Aangemaakt op" #: model:ir.model.fields,field_description:base_location.field_res_company__display_name #: model:ir.model.fields,field_description:base_location.field_res_partner__display_name msgid "Display Name" -msgstr "Te tonen naam" +msgstr "Weergavenaam" #. module: base_location #: model_terms:ir.actions.act_window,help:base_location.action_res_city_full +#, fuzzy msgid "" "Display and manage the list of all cities that can be assigned to\n" " your partner records. Note that an option can be set on each " @@ -114,11 +115,13 @@ msgid "" " separately\n" " to enforce any address of it to have a city in this list." msgstr "" +"Geeft de lijst weer van alle steden welke kunnen worden toegekend aan " +"relaites." #. module: base_location #: model:ir.model.fields,field_description:base_location.field_res_company__country_enforce_cities msgid "Enforce Cities" -msgstr "" +msgstr "Forceer woonplaats" #. module: base_location #: model:ir.model.fields,field_description:base_location.field_res_city__id @@ -166,7 +169,7 @@ msgstr "Zoek postcode" #: model:ir.model.fields,field_description:base_location.field_res_partner__state_id #: model:ir.model.fields,field_description:base_location.field_res_users__state_id msgid "State" -msgstr "" +msgstr "Provincie" #. module: base_location #: code:addons/base_location/models/res_partner.py:0 @@ -190,7 +193,7 @@ msgstr "De provincie van de relatie %s komt niet overeen met de locatie %s" #: code:addons/base_location/models/res_partner.py:0 #, python-format msgid "The zip of the partner %s differs from that in location %s" -msgstr "" +msgstr "De postcode van relatie %s verschilt van die in de locatie %s" #. module: base_location #: model:ir.model.fields,help:base_location.field_res_company__zip_id