Repository
OCA/vertical-agriculture · module folder · Try on Runboat
Module version
1.0.1
Category
Sales
Folder size
0.05 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-ci
Odoo dependencies
OCA/partner-contact:
OCA/sale-workflow:
OCA/vertical-agriculture:
odoo/odoo:
- web
- bus
- uom
- utm
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
posology_tree_view posology tree Inherits animal_medicament.posology_tree_view
view_herd_tree herd tree Inherits herd.view_herd_tree
view_order_form sale.order form Inherits sale.view_order_form
view_order_tree sale.order tree Inherits sale.view_order_tree
view_physiology_tree physiology tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (3)
  • active Boolean
    default=True
  • name Char
  • sequence Integer
Public methods (0)

No public methods.

New fields (1)
  • physiology_id Many2one → physiology
    comodel_name='physiology'
Public methods (0)

No public methods.

New fields (4)
  • animal_ids Many2many → animal
    comodel_name='animal' string='Animals'
  • herd_id Many2one → herd
    comodel_name='herd' string='Herd'
  • specie_id Many2one
    related='herd_id.specie_id'
  • total_quantity Float
    compute='_compute_total_quantity' help='Used on report'
Public methods (0)

No public methods.

New fields (14)
  • animal_count Integer
    help='Animals number' string='Headcount'
  • animal_ids Many2many → animal
    comodel_name='animal' string='Animals'
  • lot_date Date
    related='lot_id.expiry_date'
  • lot_name Char
    related='lot_id.name'
  • meat_time_str Char
    compute='_compute_time_fields' copy=False help='Waiting time for meat case by unit' readonly=False store=True string='Meat Delay'
  • milk_time_str Char
    compute='_compute_time_fields' help='Waiting time for milk case by unit' readonly=False store=True string='Milk Delay'
  • parent_specie_id Many2one
    related='order_id.herd_id.specie_id'
  • physiology_id Many2one → physiology
    comodel_name='physiology'
  • poso_description Text
  • posology_id Many2one → posology
    comodel_name='posology' compute='_compute_posology' store=True
  • product_tracking Selection
    related='product_id.tracking'
  • specie_id Many2one → animal.species
    comodel_name='animal.species'
  • unit_meat Selection
    selection=MEAT
  • unit_milk Selection
    selection=MILK
Public methods (2)
  • get_animals(self)
  • get_sale_order_line_multiline_description_sale(self, product)