2018-01-23 13:26:59 +01:00
|
|
|
# This file is part of sale_payment_type module for Tryton. The COPYRIGHT file
|
|
|
|
# at the top level of this repository contains the full copyright notices and
|
|
|
|
# license terms.
|
2012-10-11 14:30:37 +02:00
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2018-01-23 13:26:59 +01:00
|
|
|
from . import sale
|
|
|
|
|
2012-10-11 14:30:37 +02:00
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
2018-01-23 13:26:59 +01:00
|
|
|
sale.PaymentType,
|
|
|
|
sale.Sale,
|
2018-03-22 16:44:42 +01:00
|
|
|
module='sale_payment_type', type_='model')
|
|
|
|
Pool.register(
|
2018-01-23 13:26:59 +01:00
|
|
|
sale.Opportunity,
|
2018-03-22 16:44:42 +01:00
|
|
|
depends=['sale_opportunity'],
|
2014-10-30 13:45:54 +01:00
|
|
|
module='sale_payment_type', type_='model')
|