Since issue6515, product is no more displayed in tree_view and we don't know which product cost history this is about. Using a relate instead of wizard add product_id in the form title. issue7262 review44221002
15 lines
382 B
Python
15 lines
382 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 product
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
product.ProductCostPrice,
|
|
product.ProductCostHistory,
|
|
module='product_cost_history', type_='model')
|