-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
31 lines (29 loc) · 989 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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 configuration
from . import product
from . import production
from . import sale
def register():
Pool.register(
configuration.Configuration,
product.Template,
product.Product,
production.Production,
production.ChangeQuantityStart,
sale.Sale,
sale.SaleLine,
module='sale_supply_production', type_='model')
Pool.register(
production.ChangeQuantity,
depends=['sale_change_quantity'],
module='sale_supply_production', type_='wizard')
Pool.register(
sale.ChangeLineQuantityStart,
depends=['sale_change_quantity'],
module='sale_supply_production', type_='model')
Pool.register(
sale.ChangeLineQuantity,
depends=['sale_change_quantity'],
module='sale_supply_production', type_='wizard')