FIX typo + pyflakes

This commit is contained in:
resteve 2013-11-04 08:56:51 +01:00
parent 0da5a1a95c
commit 478f34c941
5 changed files with 3 additions and 5 deletions

View File

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

View File

@ -10,7 +10,6 @@ __metaclass__ = PoolMeta
class Sale:
'Sale'
__name__ = 'sale.sale'
shop = fields.Many2One('sale.shop', 'Shop', required=True, readonly=True)

View File

@ -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.

View File

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

View File

@ -8,8 +8,8 @@ from trytond.pool import PoolMeta
__all__ = ['User']
__metaclass__ = PoolMeta
class User:
"User"
__name__ = "res.user"
shops = fields.Many2Many('sale.shop-res.user', 'user', 'shop', 'Shops')