Supplier invoice: Warning ! Global taxes defined, but are not in invoice lines !

Bug #594506 reported by Damien Forest on 2010-06-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
JMA(Open ERP)

Bug Description

Hello,

I created a supplier invoice as a result of validating and invoicing a expense claim. In draft supplier invoice I add the related tax and define it as base of tax purchases and tax payable and I get this message when trying to validate:

"Warning !

Global taxes defined, but are not in invoice lines !"

I guess this a bug because if I defined it a base of taxe sales and tax due it works though it is a supplier invoice and the purchase journal is selected.

Changed in openobject-addons:
assignee: nobody → JMA(Open ERP) (jma-openerp)
JMA(Open ERP) (jma-openerp) wrote :

Hello Damien Forest,

It works perfectly for us.

The scenario you are facing is only because, there is actually no "Invoice" line(it has been deleted) and though you have a "Tax" line.
So, when you are trying to "Validate" the invoice, unfortunately it shows the Warning as there does not exist any "Invoice" line.

Firstly, please try to make sure there exists a "Invoice" line with the taxes and then use the "Validate" button.

Hope this helps.
Thank you.

Thank you, but off course there are invoice lines ( see screenshot) . As I said I only have this problem if I put base of tax purchases as as tax account and only when the supplier invoice has been generated by the hr _expense module so this may be a bug with that.

Actually I get that error whenever I want to put base of tax purchases as tax account (I am using a slightly modified version of the ln_uk chart). I checked in the code and this happens when it cannot find the account id. Any ideas ?

Hello Damien,

I assure you that this error does not come in certified modules. I guess , the modified module you use is casing a little trouble for you.

Normally, invoice taxes are grouped by general account,tax code account and tax base code account. The modified module might have a difference here. Kindly check again.

Let us know,if you need more help.
Thanks.

Changed in openobject-addons:
milestone: none → 5.0.12
status: New → Invalid

I'm only using the modules that are provided with open ERP all in one 5.0.11

JMA(Open ERP) (jma-openerp) wrote :

Hello Damien,

I have checked using the same steps you stated.
It works fine with us.

It seems you are adding taxes in the "Invoice line" and then you press the compute button which shows up the taxes in the "Tax line". After that you delete the taxes from the Invoice line and then validate the invoice you will surely end up getting the warning.

Please press the "Compute" button first and then try to "Validate" the Invoice.

I hope this helps.
Please notify us.

Thanks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers