6.1 tax defined on product is not taken into account for invoice

Bug #932972 reported by Christophe Hanon (www.adins.be)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

In 6.1

create a BE company with Belgian chart of account.
create a product with a sales tax VAT-OUT-06-L

When creating an invoice with a line referencing this product the tax that is not added to the invoice.

Tags: account
Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Christophe,

I have checked your issue. It's working properly for me.
For your reference ,I have attached video .Please go throw it.

If you still got the problem undoubtedly inform us!!

Thanks!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Christophe Hanon (www.adins.be) (chanon) wrote :

Ravish, thanks for your reply.

 Indeed it works ok on GTK. My problem is in the web client only.

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello,

I have also faced this issue in web-client . but with different way. on_change on product_id not working properly .
When you select product first time it will not take Tax but on second attempt it will take TAX with different product .
Sounds magical but it is..!!!!
SO I am confirming this issue for it.

Thanks!!

affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
status: Incomplete → Confirmed
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

This is due to the on_change chain of the product field and that of the account field which both replace the complete list of taxes.
We can solve this properly in addons by replacing these 2 on_change methods as a single on_change method computing both. It was working in GTK by chance because the on_change calls are processed in a different order.

Changed in openobject-client-web:
importance: Undecided → Medium
status: Confirmed → In Progress
affects: openobject-client-web → openobject-addons
Changed in openobject-addons:
assignee: OpenERP R&D Web Team (openerp-dev-web) → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

This is fixed at revision 6617 rev-id: <email address hidden>

Thanks a lot for reporting!

PS: a better and cleaner refactoring of the invoice.line onchange methods is under way, but it's too risky to merge it for 6.1, so we will merge it right after the release. See lp:~openerp-dev/openobject-addons/trunk-bug-932972-odo

Changed in openobject-addons:
milestone: none → 6.1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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