fix missing field change

This commit is contained in:
Àngel Àlvarez 2022-10-11 12:40:17 +02:00
parent 500f2e1b19
commit c11481bfd3
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class Weighing(Workflow, ModelSQL, ModelView):
return
contract_lines = ContractLine.search([
('parcel', '=', parcel),
('contract.producer', '=', producer),
('contract.party', '=', producer),
('contract.state', '=', 'active'),
], limit=1)
if not contract_lines: