OdooWiki OCA HUB

Animal Prescriptions

animal_prescription folder_open OCA/vertical-agriculture open_in_new
Sales License: AGPL-3

Management of prescriptions for veterinarians

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Manage veterinary prescriptions directly in sales orders: link a herd and its animals to an order, and let Odoo fill in the right dosage, milk and meat withdrawal times based on the animal's physiology and species.

This module turns a normal sales order into a veterinary prescription. On a sales order you can pick a herd and the animal_ids concerned, and the species is taken automatically from the herd.

On each order line you can record the animals treated, a headcount, the animal species and its physiology (for example age group). A button next to the line copies all animals from the order onto the line. When a product, species and physiology are set, Odoo automatically looks up the matching posology record and fills in the dosage description, the milk withdrawal delay and the meat withdrawal delay, with their units. These delays are stored on the line and can be adjusted manually.

A new configuration menu under the animal settings lets you maintain the list of physiologies (name, sequence, active), and each posology can be linked to a physiology. The herd list view also shows the animals of each herd.

The sales menu is renamed 'Prescription' and the order list shows the herd and animals columns. Lot/serial number becomes mandatory on order lines when the product is tracked, and the product code prefix is removed from the line description. A computed total quantity is available for reports.

Menus it adds

physiology_menuPrescription
Models and fields (4)
  • posology · extends an existing modelphysiology_id
  • physiology · new modelname, active, sequence
  • sale.order · extends an existing modelherd_id (Herd), specie_id, animal_ids (Animals), total_quantity
  • sale.order.line · new modellot_date, lot_name, specie_id, unit_meat, unit_milk, animal_ids (Animals), posology_id, animal_count (Headcount), meat_time_str (Meat Delay), milk_time_str (Milk Delay), physiology_id, parent_specie_id, poso_description, product_tracking

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/vertical-agriculture.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.