Sale order line bad price_subtotal calculation when the tax (VAT) is not included

Bug #682708 reported by serguei_kp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Undecided
Unassigned
5.0
Triaged
Undecided
Unassigned
Trunk
Won't Fix
Undecided
Unassigned

Bug Description

Openerp V 5.0.15 (addons revisoin 2886)
Ubuntu 9.10
Modules installed : sale_tax_include, purchase_tax_include

The result I observed :
In Sale order, when creating a sale.order.line after picking a VAT 0% or 5.5% or not picking VAT at all, the price_subtotal of sale.order.line is calculated as if VAT 5.5% has been picked (actually VAT 5.5% is configured in my product), then this price_subtotal amount is used to calculate amount_total of Sale order and is included in the invoice amount_total calculation;

The result I expecting is :
If in sale.order.line VAT is not picked
1. the price_subtotal of sale.order.line = unit_price ,
2. in sale.order : amount_total is the sum of unit_price of all sale.order.lines , amount_tax = 0, amount_untaxed = sum of unit_price,
3. in account.invoice : amount_total = sale.order.amount_total, and amount_tax = 0 ;

Thank you.

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello,

Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.

Thanks.

Changed in openobject-addons:
status: New → Won't Fix
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.