Comment 3 for bug 1154594

Revision history for this message
Raphaƫl Valyi - http://www.akretion.com (rvalyi) wrote : Re: [Bug 1154594] Re: [7.0] update taxes in invoices do ignore fiscal positions

Hello,

if you attempt such on_change, make sure it's extensible enough. Because in
some countries like Brazil (you have 10 "partners" there), we use a fiscal
position by line, because for some products it has to be different. It
means we should have a way to stop or override a blind propagation to the
lines.

Thanks.

On Thu, Apr 4, 2013 at 1:24 PM, Antoine(OpenERP) <<email address hidden>
> wrote:

> Here's the thing we discussed with Phuong and Quentin
>
> For version 7, we could display a message as soon as the fiscal is
> position is modified while there's at least one line in the invoice.
>
> For the trunk version, we could add an onchange function on the field
> fiscal_position so that it will change all the taxes defined in every
> lines of the invoice by the matching tax in the fiscal position, if
> there's a source tax being equal to the tax of the invoice line for that
> fiscal position.
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Addons.
> https://bugs.launchpad.net/bugs/1154594
>
> Title:
> [7.0] update taxes in invoices do ignore fiscal positions
>
> Status in OpenERP Addons (modules):
> New
>
> Bug description:
> Hello,
>
> create a new DB with l10n_fr
> standard VAT at nornal rate is 19.6.
> with l10n_fr I also have the fiscal position for export or export with
> european union.
>
> So here is how to reproduce
> create a product with defaul sale vat set
> Create a customer invoice
> Do not set any fiscal position
> create a invoice line with this product
> save your invoice with this VAT
>
> Now, change the fiscal position to export
> and click on Update (beside taxes)
>
> Problem : vat is not replaced by the destination vat set in the fiscal
> position
>
> Note that if you set the fiscal position before creating your invoice
> line, it works as expected.
>
> see video :
>
> https://docs.google.com/file/d/0B4GKXfLLiGNtNTlQWjhmMVp3c3c/edit?usp=sharing
>
> Thanks
>
> Frederic
> Camptocamp
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1154594/+subscriptions
>