minor bug fixining
This commit is contained in:
parent
63457d30ca
commit
acd3377b34
|
@ -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"/>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue