fix: Se añade parametro 'product_quantities' a get_productions
This commit is contained in:
parent
e2400b75e3
commit
6c3052902d
4
sale.py
4
sale.py
@ -345,8 +345,8 @@ class Line(metaclass=PoolMeta):
|
|||||||
else:
|
else:
|
||||||
self.bought_pizza = False
|
self.bought_pizza = False
|
||||||
|
|
||||||
def get_production(self):
|
def get_production(self, product_quantities ):
|
||||||
"Return production for the sale line"
|
"Return production for the sale line"
|
||||||
Production = super(Line, self).get_production()
|
Production = super(Line, self).get_production(product_quantities)
|
||||||
|
|
||||||
return Production
|
return Production
|
||||||
|
Loading…
Reference in New Issue
Block a user