summaryrefslogtreecommitdiff
path: root/addons/hr_expense/tests/__init__.py
diff options
context:
space:
mode:
authorSomesh Khare <skh@openerp.com>2014-12-02 15:54:56 +0530
committerMartin Trigaux <mat@odoo.com>2015-02-20 11:10:32 +0530
commit7f5bc3fdf0a5d40bcaec8f5170e04a8191a95499 (patch)
treea7c3da1f61ac739671bd0430c0ab10053d7b5082 /addons/hr_expense/tests/__init__.py
parentfc6ac83608e7b55f6206afe91377840788a5cd79 (diff)
[Fix] hr_expense: correct amount for included tax with negative sign
Setting an expense with a tax included with a negative base code sign was getting the wrong amount (tax line as a credit instead of debit). So leading to a total for the accounting entry superior of the total of the expense (should not happend as the tax is included). Add test to verify this scenario. Fixes #4260, opw 618531
Diffstat (limited to 'addons/hr_expense/tests/__init__.py')
-rw-r--r--addons/hr_expense/tests/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/hr_expense/tests/__init__.py b/addons/hr_expense/tests/__init__.py
new file mode 100644
index 00000000000..8c94d56e555
--- /dev/null
+++ b/addons/hr_expense/tests/__init__.py
@@ -0,0 +1,5 @@
+from . import test_journal_entries
+
+fast_suite = [
+ test_journal_entries
+] \ No newline at end of file