2021-06-14 11:27:28 +02:00
|
|
|
# This file is part carviresa module for Tryton.
|
|
|
|
# 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 13:20:32 +02:00
|
|
|
from . import weighting
|
2021-08-30 12:29:39 +02:00
|
|
|
from . import quality
|
2021-06-14 11:27:28 +02:00
|
|
|
|
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-08-30 12:29:39 +02:00
|
|
|
quality.QualityTest,
|
|
|
|
quality.QuantitativeTestLine,
|
|
|
|
quality.QualitativeTestLine,
|
2021-09-21 13:20:32 +02:00
|
|
|
weighting.WeightingCenter,
|
|
|
|
weighting.Weighting,
|
|
|
|
weighting.WeightingPlantation,
|
|
|
|
weighting.WeightingDo,
|
2021-06-14 11:27:28 +02:00
|
|
|
module='agronomics', type_='model')
|
|
|
|
Pool.register(
|
|
|
|
module='agronomics', type_='wizard')
|
|
|
|
Pool.register(
|
|
|
|
module='agronomics', type_='report')
|