← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682708] Re: Sale order line bad price_subtotal calculation when the tax (VAT) is not included

 

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.

** Also affects: openobject-addons/5.0
   Importance: Undecided
       Status: New

** Also affects: openobject-addons/trunk
   Importance: Undecided
       Status: New

** Changed in: openobject-addons/trunk
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/682708

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

Status in OpenObject Addons Modules:
  New
Status in OpenObject Addons 5.0 series:
  New
Status in OpenObject Addons trunk series:
  Won't Fix

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.





References