Purchase order line taxes wrong

Bug #559347 reported by Bruno Hostalery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
gpa(OpenERP)

Bug Description

openerp 5.0.9 - postgresql 8.0.4 - debian 5.0

Use product for partner in different fiscal position.
When changing uom, onchange function is called without parent.fiscal_position and then when product_id_change is called, parent.fiscal_position is set to none.
Or if you translate tax in fiscal_position, when you change uom in purchase order line, it will take normal taxes and not taxes for fiscal position. Fix it by added :
parent.fiscal_position in view in on_change parameter
fiscal_position in purchase_order_line.product_uom_change function (definition and product_change call)

Related branches

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Purchase has to behave like sale for this particular point.
Thanks for pointing.

Changed in openobject-addons:
assignee: nobody → gpa(Open ERP) (gpa-openerp)
importance: Undecided → Medium
milestone: none → 5.0.10
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2702 <email address hidden>.
Thanks for reporting.

Changed in openobject-addons:
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.