Skip to content

Commit

Permalink
fix: wrong field
Browse files Browse the repository at this point in the history
  • Loading branch information
scdanieli committed Aug 21, 2023
1 parent 585c8e6 commit e77b03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion landa/water_body_management/stocking_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def set_quantity_per_size(self):
if not (self.quantity and self.water_body_size):
return

self.quantity_per_water_body_size = self.weight / self.water_body_size
self.quantity_per_water_body_size = self.quantity / self.water_body_size
self.unit_of_quantity_per_water_body_size = f"Stk / {self.water_body_size_unit}"

def set_total_price(self):
Expand Down

0 comments on commit e77b03a

Please sign in to comment.