mirror of
https://github.com/NaN-tic/trytond-stock_lot_deactivatable.git
synced 2023-12-14 03:22:55 +01:00
Remove quantity_field as we no longer maintain the patch that required it.
This commit is contained in:
parent
a8236c2091
commit
fb7dd6598f
5
stock.py
5
stock.py
|
@ -79,14 +79,13 @@ class Move(metaclass=PoolMeta):
|
|||
|
||||
@classmethod
|
||||
def compute_quantities_query(cls, location_ids, with_childs=False,
|
||||
grouping=('product',), grouping_filter=None,
|
||||
quantity_field='internal_quantity'):
|
||||
grouping=('product',), grouping_filter=None):
|
||||
pool = Pool()
|
||||
Lot = pool.get('stock.lot')
|
||||
Period = pool.get('stock.period')
|
||||
query = super(Move, cls).compute_quantities_query(
|
||||
location_ids, with_childs=with_childs, grouping=grouping,
|
||||
grouping_filter=grouping_filter, quantity_field=quantity_field)
|
||||
grouping_filter=grouping_filter)
|
||||
|
||||
if not query or 'lot' not in grouping:
|
||||
return query
|
||||
|
|
Loading…
Reference in a new issue