← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
Sale order line bad price_subtotal calculation when the tax (VAT) is not included
https://bugs.launchpad.net/bugs/682708
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

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.





Follow ups

References