minor bug fixining

This commit is contained in:
Àngel Àlvarez 2021-07-29 11:08:25 +02:00
parent 63457d30ca
commit acd3377b34
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<field name="table"/>
<label name="ecological"/>
<field name="ecological"/>
<group col="6" colspan="4">
<group col="6" colspan="4" id="weight">
<label name="weight"/>
<field name="weight"/>
<label name="tara"/>

View File

@ -211,7 +211,7 @@ class Weighing(Workflow, ModelSQL, ModelView):
return parcel.product and parcel.product.id
@fields.depends('plantations')
def on_change_with_contract(self):
def on_change_with_purchase_contract(self):
parcel = self.get_parcel()
if not parcel:
return