hr_expense generated account lines

Asked by esamyn

hr_expense V7 addons rev 9514 - ubuntu 12.

TO BE VALIDATED BY A PROFESSIONAL ACCOUNTANT

The accounting lines generated from an expense sheet seems to be wrong.
It generates :
- a debit entry taxe included for "purchase account" => should be debit without the tax amount
- a credit entry without tax on the "partner account" => should include tax
- a credit for the tax => should be a debit

For example,
- create an expense sheet for employee A who paid 119,6€ (tax 19.6%)
- generate accounting lines :
     - Expense account : D 119.6 => should be 100
     - Employee A account : C 100 => should be 119.6
     - Tax account : C 19.6 => should be D 19.6

Question information

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #1238053.

Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello,

Thanks for reply and screen-shot.

I have checked your screen shot, you have applied the (minus)-7 % taxes thats why it credited, Please remove negative sign on taxes then you can able to see the tax will be debit on expense entry. This is the basic accounting rule when you have use the -negative amount on accounting entry then debit will become credit and credit will become debit.

So this is not a bug rather then your question, So I am converting this into question and please try without negative taxes then you will get the correct output as you want.

Thanks for the reporting!

Revision history for this message
esamyn (esamyn) said :
#2

Hi,

Thank you for this relevant answer. It does work when changing the base_sign field (set 1 instead of -1) whatever is the tax_sign value (the opposite is not true).

But what are the use of tax_sign and base_sign fields ?

And why are purchase taxes default base_sign to -1 (at least in french localization) ?

Also, the calculation implies that the amount of the expense form is without tax, correct ? Would be nice to see on the form the tax and total taxed amount as readonly fields to make it easier for employees (like on invoices)

Thanks
Regards

Revision history for this message
esamyn (esamyn) said :
#3

One extra question : why the expense form use base_sign whereas it seems to have no effect on invoice form ? (supplier's invoices generate correct lines whatever are the values of base_sing and tax_sign)

Thank you

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.