Repository
OCA/vertical-agriculture · module folder · Try on Runboat
Module version
1.1.0
Category
Animal
Folder size
0.16 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/vertical-agriculture
Last tracking update
2026-08-07 07:47:45
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
David Beal, Weblate, OCA-git-bot, oca-travis, oca-ci
Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
animal_prescription
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
animal_specie_search_view animal.species search New
view_animal_form animal form Inherits animal.view_animal_form
view_animal_species_form animal.species form Inherits animal.view_animal_species_form
view_animal_species_tree animal.species tree Inherits animal.view_animal_species_tree
view_herd_form herd form New
view_herd_tree herd tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

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')