Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] animal_owner: Migration to 17.0 #1788

Open
wants to merge 25 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
208e289
[ADD] animal_owner
max3903 Oct 6, 2020
d6a3d89
[UPD] Update animal_owner.pot
oca-travis Oct 19, 2020
2374587
[UPD] README.rst
OCA-git-bot Oct 19, 2020
6f23230
Added translation using Weblate (Spanish)
max3903 Oct 20, 2020
a544e69
Translated using Weblate (Spanish)
max3903 Oct 20, 2020
362628e
MIGR 14.0 animal_owner
bealdav Nov 10, 2021
30abb08
[UPD] Update animal_owner.pot
oca-travis Dec 7, 2021
ea83049
[UPD] README.rst
OCA-git-bot Dec 7, 2021
4b2737a
Update translation files
oca-transbot Dec 7, 2021
1839374
Added translation using Weblate (French)
bealdav Dec 9, 2021
ae07e50
Translated using Weblate (French)
bealdav Dec 9, 2021
6486bc3
[FIX] animal_owner: Fix tracking parameter
marcelsavegnago Dec 26, 2021
c77a629
animal_owner 14.0.1.1.0
OCA-git-bot Jan 3, 2022
4cc48cc
Translated using Weblate (French)
LESTRAT21 Jan 18, 2022
c247351
[FIX] Fix access right issues when using actions
sebalix Jan 31, 2022
f46e915
animal_owner 14.0.1.1.1
OCA-git-bot Feb 2, 2022
84b772b
IMP animal_owner: ergonomy, move partner_id
bealdav Feb 7, 2022
932997a
animal_owner 14.0.1.2.0
OCA-git-bot Feb 10, 2022
9ea5bd2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
3bc8a4a
Translated using Weblate (Spanish)
Ivorra78 Jan 13, 2024
7fdd24c
Added translation using Weblate (Italian)
mymage Feb 21, 2024
bd3d013
[IMP] animal_owner: pre-commit auto fixes
santiagordz Jun 19, 2024
8958b12
[MIG] animal_owner: Migration to 17.0
santiagordz Jun 19, 2024
e8cab95
[FIX] animal_owner
santiagordz Jun 19, 2024
b0b4098
[FIX] animal_owner
santiagordz Jun 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions animal_owner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
============
Animal Owner
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8dd9b5b375fb54fb9018aa815aeaf6c46c0aabacdf4519abe58f98c5c4ad2427
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.0/animal_owner
: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-17-0/partner-contact-17-0-animal_owner
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to store the owner of a pet.

**Table of contents**

.. contents::
:local:

Usage
=====

- Go to Animals
- Create or select an animal
- Select his owner

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20animal_owner%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Open Source Integrators

Contributors
------------

- Open Source Integrators <https://www.opensourceintegrators.com>

- Maxime Chambreuil <[email protected]>

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 <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-max3903|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/17.0/animal_owner>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions animal_owner/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions animal_owner/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Animal Owner",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"summary": "Add owner to the animal",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"maintainer": "Open Source Integrators",
"website": "https://github.com/OCA/partner-contact",
"depends": ["animal"],
"data": ["views/animal.xml", "views/res_partner.xml"],
"development_status": "Beta",
"maintainers": ["max3903"],
}
65 changes: 65 additions & 0 deletions animal_owner/i18n/animal_owner.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * animal_owner
#
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_owner
#: model_terms:ir.ui.view,arch_db:animal_owner.view_partner_animal_owner_form
msgid "<span class=\"o_stat_text\"> Animals</span>"
msgstr ""

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_animal
msgid "Animal"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_ids
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_ids
msgid "Animals"
msgstr ""

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_res_partner
msgid "Contact"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__display_name
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__id
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__id
msgid "ID"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal____last_update
#: model:ir.model.fields,field_description:animal_owner.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_count
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_count
msgid "Number of Animals"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__partner_id
#: model_terms:ir.ui.view,arch_db:animal_owner.view_animal_owner_search
msgid "Owner"
msgstr ""
68 changes: 68 additions & 0 deletions animal_owner/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * animal_owner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-13 18:33+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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 4.17\n"

#. module: animal_owner
#: model_terms:ir.ui.view,arch_db:animal_owner.view_partner_animal_owner_form
msgid "<span class=\"o_stat_text\"> Animals</span>"
msgstr "<span class=\"o_stat_text\"> Animales</span>"

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_animal
msgid "Animal"
msgstr "Animal"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_ids
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_ids
msgid "Animals"
msgstr "Animales"

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__display_name
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__id
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__id
msgid "ID"
msgstr "ID"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal____last_update
#: model:ir.model.fields,field_description:animal_owner.field_res_partner____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_count
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_count
msgid "Number of Animals"
msgstr "Numero de animales"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__partner_id
#: model_terms:ir.ui.view,arch_db:animal_owner.view_animal_owner_search
msgid "Owner"
msgstr "Dueño"
68 changes: 68 additions & 0 deletions animal_owner/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * animal_owner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-01-18 18:47+0000\n"
"Last-Translator: LESTRAT21 <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\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 4.3.2\n"

#. module: animal_owner
#: model_terms:ir.ui.view,arch_db:animal_owner.view_partner_animal_owner_form
msgid "<span class=\"o_stat_text\"> Animals</span>"
msgstr ""

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_animal
msgid "Animal"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_ids
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_ids
msgid "Animals"
msgstr "Animaux"

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_res_partner
msgid "Contact"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__display_name
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__id
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__id
msgid "ID"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal____last_update
#: model:ir.model.fields,field_description:animal_owner.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_count
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_count
msgid "Number of Animals"
msgstr "Nombre d'animaux"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__partner_id
#: model_terms:ir.ui.view,arch_db:animal_owner.view_animal_owner_search
msgid "Owner"
msgstr "Propriétaire"
66 changes: 66 additions & 0 deletions animal_owner/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * animal_owner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\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"

#. module: animal_owner
#: model_terms:ir.ui.view,arch_db:animal_owner.view_partner_animal_owner_form
msgid "<span class=\"o_stat_text\"> Animals</span>"
msgstr ""

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_animal
msgid "Animal"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_ids
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_ids
msgid "Animals"
msgstr ""

#. module: animal_owner
#: model:ir.model,name:animal_owner.model_res_partner
msgid "Contact"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__display_name
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__id
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__id
msgid "ID"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal____last_update
#: model:ir.model.fields,field_description:animal_owner.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_count
#: model:ir.model.fields,field_description:animal_owner.field_res_users__animal_count
msgid "Number of Animals"
msgstr ""

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__partner_id
#: model_terms:ir.ui.view,arch_db:animal_owner.view_animal_owner_search
msgid "Owner"
msgstr ""
3 changes: 3 additions & 0 deletions animal_owner/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import animal, res_partner
11 changes: 11 additions & 0 deletions animal_owner/models/animal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models


class Animal(models.Model):
_inherit = "animal"

partner_id = fields.Many2one(
"res.partner", string="Owner", index=True, tracking=True
)
Loading
Loading