Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cbf4eaf7f | |||
| 85c7ac0e56 | |||
| 1f79f62d6b |
22
__init__.py
22
__init__.py
@@ -1,22 +0,0 @@
|
||||
# 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 . import invoice, purchase, sale
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
purchase.Purchase,
|
||||
purchase.PurchaseLine,
|
||||
sale.Sale,
|
||||
sale.SaleLine,
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceLine,
|
||||
module='analytic_operations', type_='model')
|
||||
Pool.register(
|
||||
module='analytic_operations', type_='wizard')
|
||||
Pool.register(
|
||||
module='analytic_operations', type_='report')
|
||||
|
||||
11
tryton.cfg
11
tryton.cfg
@@ -1,5 +1,5 @@
|
||||
[tryton]
|
||||
version=6.8.0
|
||||
version=8.0.0
|
||||
depends:
|
||||
ir
|
||||
purchase
|
||||
@@ -9,3 +9,12 @@ xml:
|
||||
purchase.xml
|
||||
sale.xml
|
||||
invoice.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
purchase.Purchase
|
||||
purchase.PurchaseLine
|
||||
sale.Sale
|
||||
sale.SaleLine
|
||||
invoice.Invoice
|
||||
invoice.InvoiceLine
|
||||
|
||||
Reference in New Issue
Block a user