Fix pep8 and pyflakes
This commit is contained in:
1 parent
fdc0b28fe1
commit
cea1d70775
3 files changed
+5
-3
No files matched your search
+1
-1
@@ -21,7 +21,7 @@
|
||||
- сметка за разходи / приходу
|
||||
- данъци за клиент / доставчик
|
||||
''',
|
||||
'description_ca_ES': '''Afegeix propietats de comptabilitat a productes i
|
||||
'description_ca_ES': '''Afegeix propietats de comptabilitat a productes i
|
||||
categories com:
|
||||
- Comptes de despeses i ingressos
|
||||
- Impostos per client i proveïdor
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ class Category(ModelSQL, ModelView):
|
||||
| Eval('account_parent')),
|
||||
},
|
||||
depends=['account_parent']))
|
||||
account_revenue = fields.Property(fields.Many2One( 'account.account',
|
||||
account_revenue = fields.Property(fields.Many2One('account.account',
|
||||
'Account Revenue', domain=[
|
||||
('kind', '=', 'revenue'),
|
||||
('company', '=', Eval('context', {}).get('company', 0)),
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
import sys, os
|
||||
import sys
|
||||
import os
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', '..', '..', '..', 'trytond')))
|
||||
if os.path.isdir(DIR):
|
||||
@@ -33,6 +34,7 @@ class AccountProductTestCase(unittest.TestCase):
|
||||
'''
|
||||
test_depends()
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
|
||||
Reference in new issue
Block a user