Herd

herd
REPOSITORY
REPOSITORYOCA/vertical-agriculture
GIT
GIThttps://github.com/OCA/vertical-agriculture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-agriculture/tree/14.0/herd
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAnimal
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSDavid Beal, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-agriculture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - animal_owner
    - animal
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
animal_specie_search_view animal.species search New
view_animal_form animal field Inherits animal.view_animal_form
view_animal_species_form animal.species xpath Inherits animal.view_animal_species_form
view_animal_species_tree animal.species field Inherits animal.view_animal_species_tree
view_herd_form herd form New
view_herd_tree herd tree New
Models touched (3)

New fields (5)
  • breed_id Many2one → animal.breed
    comodel_name='animal.breed' required=False
  • date_in_herd Date
    help='Herd introduction' string='Introduction Date'
  • father_id Many2one → animal
    comodel_name='animal' domain="[('id', '!=', id)]" string='Father'
  • herd_id Many2one → herd
    comodel_name='herd' string='Herd'
  • mother_id Many2one → animal
    comodel_name='animal' domain="[('id', '!=', id)]" string='Mother'
Public methods (0)

No public methods.

New fields (6)
  • child_ids One2many → animal.species
    comodel_name='animal.species' inverse_name='parent_id' string='Child Species'
  • complete_name Char
    compute='_compute_complete_name' store=True string='Family / Specie'
  • level Integer
    compute='_compute_level' store=True
  • name Char
    index=True required=True
  • parent_id Many2one → animal.species
    comodel_name='animal.species' index=True ondelete='cascade' string='Parent Specie'
  • parent_path Char
    index=True
Public methods (0)

No public methods.

New fields (6)
  • animal_ids One2many → animal
    comodel_name='animal' inverse_name='herd_id' string='Animal'
  • breed_id Many2one → animal.breed
    comodel_name='animal.breed' string='Breed'
  • display_name Char
    compute='_compute_display_name' store=True args: 'Display Name'
  • name Char
    string='Livestock'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Owner'
  • specie_id Many2one → animal.species
    comodel_name='animal.species' domain=[('level', '=', 1)] required=True string='Specie'
Public methods (1)
  • breed_onchange(self)
    @api.onchange('specie_id')