Retrieve product price with taxes

Retrieve product price with taxes

Postby lluis » Tue Nov 27, 2012 2:14 pm

Hello,
I'm writing my first aeroo report and I need to print product price with taxes, I guess this is a trivial job, but I'm not achieving this

I can get price without taxes with

Code: Select all
<o.price>


but I need products price with taxes and taxes amount also

thanks,
Lluís
lluis
 
Posts: 4
Joined: Fri Nov 23, 2012 4:23 pm

Re: Retrieve product price with taxes

Postby lluis » Mon Dec 10, 2012 4:50 pm

this works but must be a better way:

Code: Select all
<o.list_price * ( 1 + sum([t.amount for t in o.taxes_id]))>


and doesn't take into account discounts

any help?
lluis
 
Posts: 4
Joined: Fri Nov 23, 2012 4:23 pm


Return to Aeroo Reports & OpenOffice.org Reporting Engine

cron
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED