[FIX] pep8
This commit is contained in:
parent
deb6e15377
commit
ae2facc05b
@ -75,18 +75,18 @@ class account_move_line(orm.Model):
|
|||||||
"with account %s '%s' but the "
|
"with account %s '%s' but the "
|
||||||
"partner is missing in the account "
|
"partner is missing in the account "
|
||||||
"move line with label '%s'." %
|
"move line with label '%s'." %
|
||||||
(move_line.account_id.code,
|
(move_line.account_id.code,
|
||||||
move_line.account_id.name,
|
move_line.account_id.name,
|
||||||
move_line.name))
|
move_line.name))
|
||||||
elif policy == 'never' and move_line.partner_id:
|
elif policy == 'never' and move_line.partner_id:
|
||||||
return _("Partner policy is set to 'Never' "
|
return _("Partner policy is set to 'Never' "
|
||||||
"with account %s '%s' but the "
|
"with account %s '%s' but the "
|
||||||
"account move line with label '%s' "
|
"account move line with label '%s' "
|
||||||
"has a partner '%s'." %
|
"has a partner '%s'." %
|
||||||
(move_line.account_id.code,
|
(move_line.account_id.code,
|
||||||
move_line.account_id.name,
|
move_line.account_id.name,
|
||||||
move_line.name,
|
move_line.name,
|
||||||
move_line.partner_id.name))
|
move_line.partner_id.name))
|
||||||
|
|
||||||
def _check_partner_required(self, cr, uid, ids, context=None):
|
def _check_partner_required(self, cr, uid, ids, context=None):
|
||||||
return not self._check_partner_required_msg(cr, uid, ids,
|
return not self._check_partner_required_msg(cr, uid, ids,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user