2
0

[FIX] flake8 PEP8 account_partner_required

This commit is contained in:
Nicolas Bessi 2014-07-10 16:33:46 +02:00 committed by Alexis de Lattre
parent 907760dee3
commit a62a7e2f9c

View File

@ -28,11 +28,11 @@ class account_account_type(orm.Model):
_inherit = "account.account.type" _inherit = "account.account.type"
_columns = { _columns = {
'partner_policy': fields.selection([ 'partner_policy': fields.selection(
('optional', 'Optional'), [('optional', 'Optional'),
('always', 'Always'), ('always', 'Always'),
('never', 'Never') ('never', 'Never')],
], 'Policy for partner field', 'Policy for partner field',
help="Set the policy for the partner field : if you select " help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner " "'Optional', the accountant is free to put a partner "
"on an account move line with this type of account ; " "on an account move line with this type of account ; "