adapt to 4.0

This commit is contained in:
?ngel ?lvarez 2017-08-18 17:00:27 +02:00
parent eda45dd2c0
commit 7f7931c7aa
2 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# The COPYRIGHT file at the top level of this repository contains the full # The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms. # copyright notices and license terms.
from trytond.pool import Pool from trytond.pool import Pool
from .production import * from . import production
def register(): def register():
Pool.register( Pool.register(
BOMTree, production.BOMTree,
OpenBOMTreeStart, production.OpenBOMTreeStart,
OpenBOMTreeTree, production.OpenBOMTreeTree,
module='production_bom_stock_form', type_='model') module='production_bom_stock_form', type_='model')
Pool.register( Pool.register(
OpenBOMTree, production.OpenBOMTree,
module='production_bom_stock_form', type_='wizard') module='production_bom_stock_form', type_='wizard')

View File

@ -1,5 +1,5 @@
[tryton] [tryton]
version=3.4.0 version=4.0
depends: depends:
production production
stock_calculation stock_calculation