c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06370
[Bug 682708] Re: Sale order line bad price_subtotal calculation when the tax (VAT) is not included
** Changed in: openobject-addons
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:
Won't Fix
Status in OpenObject Addons 5.0 series:
Triaged
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