without adding a strong dependency to purchase module. Work can be set on the purchase line or purchase lines can be selected from the work form view. issue4951 review24351002
14 lines
341 B
Python
14 lines
341 B
Python
# 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 .work import *
|
|
from .purchase import *
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
Work,
|
|
PurchaseLine,
|
|
module='project_revenue', type_='model')
|