Fix style

This commit is contained in:
C?dric Krier 2018-01-10 15:10:02 +01:00
parent fefc652e23
commit 9e5a8634fd
3 changed files with 12 additions and 13 deletions

View File

@ -1,12 +1,12 @@
#This file is part account_invoice_taxes_required module for Tryton. # This file is part account_invoice_taxes_required module for Tryton.
#The COPYRIGHT file at the top level of this repository contains # The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms. # the full copyright notices and license terms.
from trytond.pool import Pool from trytond.pool import Pool
from .invoice import * from . import invoice
def register(): def register():
Pool.register( Pool.register(
Invoice, invoice.Invoice,
InvoiceLine, invoice.InvoiceLine,
module='account_invoice_taxes_required', type_='model') module='account_invoice_taxes_required', type_='model')

View File

@ -1,6 +1,6 @@
#This file is part account_invoice_taxes_required module for Tryton. # This file is part account_invoice_taxes_required module for Tryton.
#The COPYRIGHT file at the top level of this repository contains # The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms. # the full copyright notices and license terms.
from trytond.pool import Pool, PoolMeta from trytond.pool import Pool, PoolMeta

View File

@ -1,7 +1,6 @@
#This file is part account_invoice_taxes_required module for Tryton. # This file is part account_invoice_taxes_required module for Tryton.
#The COPYRIGHT file at the top level of this repository contains # The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms. # the full copyright notices and license terms.
from .test_account_invoice_taxes_required import suite
try: try:
from trytond.modules.account_invoice_taxes_required.tests.test_account_invoice_taxes_required import suite from trytond.modules.account_invoice_taxes_required.tests.test_account_invoice_taxes_required import suite
except ImportError: except ImportError: