File: __init__.py

package info (click to toggle)
tryton-modules-commission 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 568 kB
  • ctags: 199
  • sloc: python: 819; xml: 484; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 706 bytes parent folder | download
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
# This file is part of Tryton.  The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

from trytond.pool import Pool
from .commission import *
from .invoice import *
from .sale import *
from .product import *
from . import party


def register():
    Pool.register(
        Plan,
        PlanLines,
        Agent,
        Commission,
        CreateInvoiceAsk,
        Invoice,
        InvoiceLine,
        Sale,
        SaleLine,
        Template,
        Template_Agent,
        Product,
        module='commission', type_='model')
    Pool.register(
        CreateInvoice,
        party.PartyReplace,
        module='commission', type_='wizard')