Pyflakes fixes.

This commit is contained in:
Albert Cervera i Areny 2021-03-28 00:32:42 +01:00
parent 5b3a31490e
commit a75d0c1d41
3 changed files with 8 additions and 14 deletions

View File

@ -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')

View File

@ -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'),

View File

@ -4,8 +4,6 @@
from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['SaleShop']
class SaleShop(metaclass=PoolMeta):
__name__ = 'sale.shop'