FIX typo + pyflakes
This commit is contained in:
parent
0da5a1a95c
commit
478f34c941
|
@ -1,12 +1,12 @@
|
|||
#This file is part sale_shop module for 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 .shop import *
|
||||
from .sale import *
|
||||
from .user import *
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
SaleShop,
|
||||
|
|
1
sale.py
1
sale.py
|
@ -10,7 +10,6 @@ __metaclass__ = PoolMeta
|
|||
|
||||
|
||||
class Sale:
|
||||
'Sale'
|
||||
__name__ = 'sale.sale'
|
||||
shop = fields.Many2One('sale.shop', 'Shop', required=True, readonly=True)
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
#This file is part stock_comment module for Tryton.
|
||||
#This file is part sale_shop module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
|
||||
|
|
1
shop.py
1
shop.py
|
@ -10,7 +10,6 @@ __all__ = ['SaleShop', 'SaleShopResUser']
|
|||
|
||||
|
||||
class SaleShop(ModelSQL, ModelView):
|
||||
'Sale Shop'
|
||||
__name__ = 'sale.shop'
|
||||
name = fields.Char('Shop Name', required=True, select=True)
|
||||
users = fields.Many2Many('sale.shop-res.user', 'shop', 'user', 'Users')
|
||||
|
|
Loading…
Reference in New Issue