84 lines
2.9 KiB
Python
84 lines
2.9 KiB
Python
# The COPYRIGHT file at the top level of this repository contains the full
|
|
# copyright notices and license terms.
|
|
from trytond.pool import Pool
|
|
from . import animal
|
|
from . import animal_group
|
|
from . import events
|
|
from . import product
|
|
from . import production
|
|
from . import quality
|
|
from . import specie
|
|
from . import stock
|
|
from . import user
|
|
|
|
def register():
|
|
Pool.register(
|
|
specie.Specie,
|
|
specie.SpecieModel,
|
|
specie.SpecieFarmLine,
|
|
specie.Breed,
|
|
specie.UIMenu,
|
|
specie.ActionActWindow,
|
|
specie.ActionWizard,
|
|
specie.SpecieProduct,
|
|
animal.Tag,
|
|
events.removal_event.RemovalType,
|
|
events.removal_event.RemovalReason,
|
|
events.farrowing_event.FarrowingProblem,
|
|
animal.Animal,
|
|
animal.AnimalTag,
|
|
animal.AnimalWeight,
|
|
animal.Male,
|
|
animal.FemaleCycle,
|
|
animal.Female,
|
|
animal.CreateFemaleStart,
|
|
animal.CreateFemaleLine,
|
|
animal.ChangeCycleObservationStart,
|
|
animal.EventUnion,
|
|
animal_group.AnimalGroup,
|
|
animal_group.AnimalGroupTag,
|
|
animal_group.AnimalGroupWeight,
|
|
stock.Location,
|
|
stock.LocationSiloLocation,
|
|
stock.LotAnimalGroup,
|
|
stock.Lot,
|
|
user.User,
|
|
user.UserLocation,
|
|
product.Template,
|
|
product.Product,
|
|
events.event_order.EventOrder,
|
|
events.move_event.MoveEvent,
|
|
events.feed_inventory.FeedInventory,
|
|
events.feed_inventory.FeedProvisionalInventory,
|
|
events.feed_inventory.FeedInventoryLocation,
|
|
events.feed_inventory.FeedAnimalLocationDate,
|
|
events.feed_event.FeedEvent,
|
|
events.medication_event.MedicationEvent,
|
|
events.transformation_event.TransformationEvent,
|
|
events.removal_event.RemovalEvent,
|
|
events.semen_extraction_event.SemenExtractionEvent,
|
|
events.semen_extraction_event.SemenExtractionEventQualityTest,
|
|
events.semen_extraction_event.SemenExtractionDose,
|
|
events.insemination_event.InseminationEvent,
|
|
events.pregnancy_diagnosis_event.PregnancyDiagnosisEvent,
|
|
events.abort_event.AbortEvent,
|
|
events.abort_event.AbortEventFemaleCycle,
|
|
events.farrowing_event.FarrowingEvent,
|
|
events.farrowing_event.FarrowingEventFemaleCycle,
|
|
events.farrowing_event.FarrowingEventAnimalGroup,
|
|
events.farrowing_event.FarmFarrowingEventAnimal,
|
|
events.foster_event.FosterEvent,
|
|
events.weaning_event.WeaningEvent,
|
|
events.weaning_event.WeaningEventAnimal,
|
|
events.weaning_event.WeaningEventFemaleCycle,
|
|
events.reclassification_event.ReclassficationEvent,
|
|
stock.Move,
|
|
production.BOM,
|
|
quality.QualityTest,
|
|
quality.QualityTemplate,
|
|
module='farm', type_='model')
|
|
Pool.register(
|
|
animal.CreateFemale,
|
|
animal.ChangeCycleObservation,
|
|
module='farm', type_='wizard')
|