mirror of
https://github.com/NaN-tic/trytond-agronomics.git
synced 2023-12-14 05:33:01 +01:00
12 lines
409 B
Python
12 lines
409 B
Python
|
# The COPYRIGHT file at the top level of this repository contains the full
|
||
|
# copyright notices and license terms.
|
||
|
from trytond.model import fields
|
||
|
from trytond.pool import PoolMeta
|
||
|
|
||
|
class Party(metaclass=PoolMeta):
|
||
|
__name__ = 'party.party'
|
||
|
|
||
|
plantations = fields.One2Many('agronomics.plantation', 'party',
|
||
|
'Plantation')
|
||
|
parcels = fields.One2Many('agronomics.parcel', 'producer', 'Parcels')
|