Pyflakes fixes.
This commit is contained in:
parent
5b3a31490e
commit
a75d0c1d41
16
__init__.py
16
__init__.py
|
@ -2,15 +2,15 @@
|
|||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
from .sale import *
|
||||
from .shop import *
|
||||
from . import sale
|
||||
from . import shop
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
Sale,
|
||||
SaleRule,
|
||||
SaleRuleAction,
|
||||
SaleRuleCondition,
|
||||
SaleLine,
|
||||
SaleShop,
|
||||
sale.Sale,
|
||||
sale.SaleRule,
|
||||
sale.SaleRuleAction,
|
||||
sale.SaleRuleCondition,
|
||||
sale.SaleLine,
|
||||
shop.SaleShop,
|
||||
module='sale_rule', type_='model')
|
||||
|
|
4
sale.py
4
sale.py
|
@ -9,10 +9,6 @@ from trytond.transaction import Transaction
|
|||
from trytond.i18n import gettext
|
||||
from trytond.exceptions import UserError
|
||||
|
||||
|
||||
__all__ = ['Sale', 'SaleRule', 'SaleRuleAction', 'SaleRuleCondition',
|
||||
'SaleLine']
|
||||
|
||||
CRITERIA = [
|
||||
('untaxed_amount', 'Untaxed Amount'),
|
||||
('tax_amount', 'Tax Amount'),
|
||||
|
|
Loading…
Reference in New Issue