← Back to team overview

openerp-india team mailing list archive

[Bug 1212281] Re: wrong tax calculation after invoice duplication and changing partner with other fiscal position

 

Hmm
I think we need a 
* on_change_fiscalposotion
* on_change_pricelist
* ...?
in invoice header (and probably sale/purchase too)

which recalculates for each existing line
* on_change_account_id
* on_chane_product_id
* ....

to deal correctly with duplication and other changes of the "header"
after lineshave been inserted

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1212281

Title:
  wrong tax calculation after invoice duplication and changing partner
  with other fiscal position

Status in OpenERP Addons (modules):
  New

Bug description:
  to reproduce

  European Union:
  create an invoice with normal domestic tax
  service 100
  tax 10
  total 110

  validate

  duplicate
  change partner to EU-partner - no tax should be computed

  remark: the tax is only computed on change of the general account.

  it seems  mandatory to recompute tax on validate to avoid such errors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1212281/+subscriptions


Follow ups

References