2021-10-19 08:19:06 +02:00
|
|
|
# This file is part agronomics module for Tryton.
|
2021-06-14 11:27:28 +02:00
|
|
|
# The COPYRIGHT file at the top level of this repository contains
|
|
|
|
# the full copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
2021-06-30 12:16:37 +02:00
|
|
|
from . import party
|
2021-06-14 11:27:28 +02:00
|
|
|
from . import plot
|
2021-07-12 15:58:50 +02:00
|
|
|
from . import product
|
2021-09-21 16:21:23 +02:00
|
|
|
from . import weighing
|
2021-09-22 13:05:03 +02:00
|
|
|
from . import quality
|
|
|
|
from . import production
|
2022-01-13 14:46:39 +01:00
|
|
|
from . import location
|
|
|
|
from . import move
|
2021-06-30 12:16:37 +02:00
|
|
|
|
2021-06-14 11:27:28 +02:00
|
|
|
def register():
|
|
|
|
Pool.register(
|
2021-06-30 12:16:37 +02:00
|
|
|
party.Party,
|
2021-06-14 11:27:28 +02:00
|
|
|
plot.Enclosure,
|
|
|
|
plot.Crop,
|
|
|
|
plot.DenominationOrigin,
|
|
|
|
plot.MaxProductionAllowed,
|
|
|
|
plot.Irrigation,
|
|
|
|
plot.Plantation,
|
|
|
|
plot.Ecological,
|
|
|
|
plot.Parcel,
|
2021-06-30 11:48:27 +02:00
|
|
|
plot.ParcelDo,
|
2021-06-14 11:27:28 +02:00
|
|
|
plot.Beneficiaries,
|
2021-07-12 15:58:50 +02:00
|
|
|
product.Certification,
|
|
|
|
product.Container,
|
|
|
|
product.Product,
|
|
|
|
product.ProductCrop,
|
|
|
|
product.ProductDO,
|
|
|
|
product.ProductEcological,
|
|
|
|
product.ProductVariety,
|
|
|
|
product.Template,
|
2021-09-21 16:21:23 +02:00
|
|
|
weighing.WeighingCenter,
|
|
|
|
weighing.Weighing,
|
|
|
|
weighing.WeighingPlantation,
|
|
|
|
weighing.WeighingDo,
|
2022-01-12 10:55:59 +01:00
|
|
|
quality.Configuration,
|
|
|
|
quality.ConfigurationCompany,
|
|
|
|
quality.ProductQualitySample,
|
|
|
|
quality.QualitySample,
|
2021-09-22 13:05:03 +02:00
|
|
|
quality.QualityTest,
|
|
|
|
quality.QuantitativeTestLine,
|
|
|
|
quality.QualitativeTestLine,
|
|
|
|
production.ProductionTemplate,
|
|
|
|
production.ProductionTemplateLine,
|
|
|
|
production.ProductionTemplateInputsProductTemplate,
|
|
|
|
production.ProductionTemplateOutputsProductTemplate,
|
|
|
|
production.Production,
|
|
|
|
production.OutputDistribution,
|
|
|
|
production.ProductionEnologyProduct,
|
2021-10-19 08:19:06 +02:00
|
|
|
production.ProductionCostPriceDistribution,
|
|
|
|
# production.ProductionProductionCostPriceDistribution,
|
|
|
|
production.ProductionCostPriceDistributionTemplate,
|
|
|
|
production.ProductionCostPriceDistributionTemplateProductionTemplateAsk,
|
2022-01-13 14:46:39 +01:00
|
|
|
location.LocationMaterial,
|
|
|
|
location.Location,
|
|
|
|
move.Move,
|
2021-06-14 11:27:28 +02:00
|
|
|
module='agronomics', type_='model')
|
|
|
|
Pool.register(
|
2021-10-19 08:19:06 +02:00
|
|
|
production.ProductionCostPriceDistributionTemplateProductionTemplate,
|
2021-06-14 11:27:28 +02:00
|
|
|
module='agronomics', type_='wizard')
|
|
|
|
Pool.register(
|
|
|
|
module='agronomics', type_='report')
|