Files
tryton/modules/stock_forecast/__init__.py
T
Cédric Krier ffc6f35442 Simplify stock forecast complete wizard
It set the context on the products selection so the user can see the quantity
that will be set. As it is possible to search on this quantity, there is no
more the need to prefill the selection with products having a quantity.
Also there is no need to have two steps for the wizard as the context is
computed dynamically.
2023-02-11 12:40:41 +01:00

19 lines
518 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
from . import forecast
def register():
Pool.register(
forecast.Forecast,
forecast.ForecastLine,
forecast.ForecastLineMove,
forecast.ForecastCompleteAsk,
module='stock_forecast', type_='model')
Pool.register(
forecast.ForecastComplete,
module='stock_forecast', type_='wizard')