[account] changing fiscal position doesn't change taxes

Bug #712772 reported by Joke de Buhr
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Changing the fiscal position of an invoice or sales order doesn't change the calculated taxes. Only newly added invoice/sales lines will be subjected to changed fiscal position mapping.

I'm not sure if this is the desired behavior or a bug but the documentation [1] states:

  > If you have not entered the parameters in the customer form correctly, OpenERP will suggest
  > incorrect taxes in the invoice. That is not a real issue, because you can always modify the information
  > directly in the invoice before approving it.

This suggests changing the fiscal position should affect the tax calculation of already added lines.

  [1] http://doc.openerp.com/v6.0/book/3/3_7/invoicing.html?highlight=fiscal%20position

openerp: 6.0.1
account: 6.0.1.1

Joke de Buhr (joke)
summary: - [invoice] changing fiscal position doesn't change taxes
+ [account] changing fiscal position doesn't change taxes
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello,

When you applied the fiscal position to particular invoice It will affect the related changes only in the current invoice created move only not all existing one.
Hope this will help you.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Joke de Buhr (joke) wrote :

Of cause it's not supposed to change all old invoices but let's say:

An invoice get's created from the sales module. The salesman entered the wrong fiscal position. The invoice is marked as draft within the account module. The accountant corrects the fiscal position field on exactly that drafted invoice.
None of the taxes of this drafted invoice get recalculated. Only if the account adds new invoice lines the new ones get translated according to the changed fiscal position.

Therefore the account needs to delete and re-add all the invoice lines by hand after changing fiscal position if he wants to change all taxes of that one draft invoice. Is this behavior the desired one?

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: Invalid → Confirmed
Revision history for this message
Davide Corio (enlightx-deactivatedaccount) wrote :

any news about this issue?

i'm about to write a patch for this. So if you have already fixed it please give me a tip-off

Revision history for this message
Paulius Sladkevičius @ hbee (komsas) wrote :

Hi Davide,

did you made patch and can you post it?

Revision history for this message
Ray Carnes (rcarnes) wrote :

Requesting OPW fix - this is happening on V7 also.

Revision history for this message
Ray Carnes (rcarnes) wrote :

We have received a patch for our OPW customer from Odoo for this.

Revision history for this message
Lorenzo Battistini (elbati) wrote :

For the record, the module invoice_fiscal_position_update
https://github.com/OCA/account-invoicing/blob/7.0/invoice_fiscal_position_update/__openerp__.py
should do the job

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.