Files
tryton/__init__.py
T
Sergi Almacellas Abellana 561bb840ac Allow to delete invoice lines
As now they will be recreated by purchase module, there is no problem with
deleting them, so we can allow it.

issue6131
review30921002
2017-01-18 10:20:04 +01:00

16 lines
474 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 .purchase import *
def register():
Pool.register(
Purchase,
PurchaseIgnoredInvoiceLine,
module='purchase_invoice_line_standalone', type_='model')
Pool.register(
HandleInvoiceException,
module='purchase_invoice_line_standalone', type_='wizard')