2015-06-08 16:37:41 +02:00
|
|
|
# The COPYRIGHT file at the top level of this repository contains the full
|
|
|
|
# copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
|
|
|
from .product import *
|
|
|
|
from .stock import *
|
2015-06-17 12:50:01 +02:00
|
|
|
from .sale import *
|
|
|
|
from .purchase import *
|
2015-06-08 16:37:41 +02:00
|
|
|
|
2015-06-11 17:38:59 +02:00
|
|
|
|
2015-06-08 16:37:41 +02:00
|
|
|
def register():
|
|
|
|
Pool.register(
|
|
|
|
Template,
|
|
|
|
Product,
|
|
|
|
Lot,
|
|
|
|
Move,
|
|
|
|
ShipmentIn,
|
|
|
|
ShipmentOut,
|
|
|
|
ShipmentOutReturn,
|
|
|
|
PeriodCache,
|
|
|
|
PeriodCacheLot,
|
|
|
|
Inventory,
|
|
|
|
InventoryLine,
|
2015-06-17 12:50:01 +02:00
|
|
|
SaleLine,
|
|
|
|
PurchaseLine,
|
2015-06-08 16:37:41 +02:00
|
|
|
module='stock_second_uom', type_='model')
|
2015-06-17 12:50:01 +02:00
|
|
|
Pool.register(
|
|
|
|
ReturnSale,
|
|
|
|
module='stock_second_uom', type_='wizard')
|