Commits

Raimon Esteve (Zikzakmedia) committed ca492ad

pyflakes

Comments (0)

Files changed (7)

 #This file is part product_manufacturer 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 .move import *
 from .party import *
 #This file is part product_manufacturer module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-
 from trytond.model import fields
 from trytond.pool import PoolMeta
 
 
 
 class Move:
-    "Stock Move"
     __name__ = 'stock.move'
-
     manufacturer = fields.Function(
         fields.Many2One('party.party', 'Manufacturer',
             on_change=['product']), 'get_manufacturer')
 #This file is part product_manufacturer module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-
 from trytond.model import fields
 from trytond.pool import PoolMeta
 
 
 
 class Party:
-    """Party"""
     __name__ = 'party.party'
-
     manufacturer = fields.Boolean('Manufacturer',
         help="Check this box if the partner is a manufacturer.")
 #This file is part product_manufacturer module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-
 from trytond.model import fields
 from trytond.pool import PoolMeta
 
 
 
 class Template:
-    'Template'
     __name__ = 'product.template'
-
     manufacturer = fields.Many2One('party.party', 'Manufacturer',
         domain=[('manufacturer', '=', True)])
     manufacturer_name =  fields.Char('Manufacturer Name')
 
 
 class Product:
-    'Product'
     __name__ = 'product.product'
-
     manufacturer_code =  fields.Char('Manufacturer Code')
 #This file is part product_manufacturer module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-
 from trytond.model import fields
 from trytond.pool import PoolMeta
 
 
 
 class PurchaseLine:
-    'Purchase Line'
     __name__ = 'purchase.line'
-
     manufacturer = fields.Function(
         fields.Many2One('party.party', 'Manufacturer',
             on_change=['product']),
 #This file is part product_manufacturer module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-
 from trytond.model import fields
 from trytond.pool import PoolMeta
 
 
 
 class SaleLine:
-    'Sale Line'
     __name__ = 'sale.line'
-
     manufacturer = fields.Function(
         fields.Many2One('party.party', 'Manufacturer',
             on_change=['product']),

tests/test_manufacturer.py

         '''
         test_depends()
 
+
 def suite():
     suite = trytond.tests.test_tryton.suite()
     suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
         ManufacturerTestCase))
     return suite
 
+
 if __name__ == '__main__':
     unittest.TextTestRunner(verbosity=2).run(suite())