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"
_columns = {
'partner_policy': fields.selection([
('optional', 'Optional'),
('always', 'Always'),
('never', 'Never')
], 'Policy for partner field',
'partner_policy': fields.selection(
[('optional', 'Optional'),
('always', 'Always'),
('never', 'Never')],
'Policy for partner field',
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
"on an account move line with this type of account ; "