trytond-stock_last_price/__init__.py
2018-07-23 10:44:53 +02:00

18 lines
475 B
Python

# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import Pool
from .stock import ShipmentOut, ShipmentIn, Move
from .sale import SaleLine
def register():
Pool.register(
SaleLine,
module='stock_last_price', type_='model',
depends=['sale'])
Pool.register(
Move,
ShipmentIn,
ShipmentOut,
module='stock_last_price', type_='model')