← Back to team overview

openerp-india team mailing list archive

Re: [Bug 946125] Re: Invoice analysis 'total without VAT' is incorrect with VAT included in price

 

Not really. Appropriate would be:
                     sum(case when ai.type in 
('out_refund','in_invoice') then
                          ail.price_subtotal * -1
                         else
                          ail.price_subtotal


Best regards

openerp

*Eric CAUDAL*, CEO
eric.caudal@xxxxxxxxxxxxxx  <mailto:eric.caudal@xxxxxxxxxxxxxx>
Cell: + 86 186 2136 1670. Skype: elico.corp
*Elico Corp - OpenERP Ready Partner, Shanghai.*
http://www.openerp.net.cn


On 03/05/2012 08:35 PM, Kirti Savalia(OpenERP) wrote:
> Hello Eric Caudal,
>
> This issue has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-572444-ksa
> revision-id: ksa@xxxxxxxxxxx-20120305123029-y8s1qywd3q6uusgn
> revno: 5106
>
>
> Regards,
> KSA
>
> ** Changed in: openobject-addons
>         Status: In Progress =>  Fix Committed
>


** Attachment added: "Logo-Elico90.gif"
   https://bugs.launchpad.net/bugs/946125/+attachment/2817059/+files/Logo-Elico90.gif

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/946125

Title:
  Invoice analysis 'total without VAT' is incorrect with VAT included in
  price

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  in 6.0, account/reoprting/invoice analysis. when using a price included VAT in invoice, the result of Total without TAX is equal to Total with TAX.
  this is due to the fact that in the report SQL query, taxes are not calculated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/946125/+subscriptions


References