trytond-sale_farm/__init__.py

16 lines
457 B
Python
Raw Permalink Normal View History

2014-05-07 14:10:58 +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
2019-06-17 02:00:27 +02:00
from . import sale
from . import analytic_sale
2014-05-07 14:10:58 +02:00
def register():
Pool.register(
2019-06-17 02:00:27 +02:00
sale.MoveEvent,
sale.Sale,
sale.SaleLine,
2014-05-07 14:10:58 +02:00
module='sale_farm', type_='model')
Pool.register(
analytic_sale.SaleLine,
module='sale_farm', type_='model', depends=['analytic_sale'])