This commit is contained in:
2026-01-09 17:49:20 +01:00
parent 19669281d5
commit ebdfd7f499
8 changed files with 172 additions and 7 deletions

View File

@@ -6,6 +6,14 @@ from trytond.modules.purchase_trade.purchase import (TRIGGERS)
__all__ = ['Party']
__metaclass__ = PoolMeta
class PartyExecution(ModelSQL,ModelView):
"Party Execution"
__name__ = 'party.execution'
party = fields.Many2One('party.party',"Party")
area = fields.Many2One('country.region',"Area")
percent = fields.Numeric("% targeted")
class Party(metaclass=PoolMeta):
__name__ = 'party.party'
@@ -13,5 +21,4 @@ class Party(metaclass=PoolMeta):
tol_max = fields.Numeric("Tol + in %")
wb = fields.Many2One('purchase.weight.basis',"Weight basis")
association = fields.Many2One('purchase.association',"Association")
execution = fields.One2Many('party.execution','party',"")