Skip to content

Commit

Permalink
[FIX] PEP8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow committed Sep 15, 2016
1 parent 58a356c commit 04774eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
11 changes: 0 additions & 11 deletions hr_expense_operating_unit/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ This module introduces the following features:

* Adds Operating Unit (OU) to the account moves while generating accounting entries from the expense.


Installation
============

No specific installation requirements.

Configuration
=============

No configuration is required.

Usage
=====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ def test_security(self):
# User 2 is only assigned to Operating Unit B2C, and cannot
# Access Expenses of Main Operating Unit.
record = self.hr_expense_model.sudo(self.user2.id).search(
[('id', '=', self.hr_expense1.id),
('operating_unit_id', '=',
self.ou1.id)])
[('id', '=', self.hr_expense1.id),
('operating_unit_id', '=', self.ou1.id)])
self.assertEqual(record.ids, [], 'User 2 should not have access to %s'
% self.ou1.name)

Expand Down

0 comments on commit 04774eb

Please sign in to comment.