Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

add a table the resume taxes in a table use sql

By
omar
on 1/12/16, 2:45 AM 264 views

for this requette sql
for exemple:



"""select at.name, sum(solt.price_tax)
from sale_order_line solt,account_tax_sale_order_line_rel atsolr,account_tax at
where solt.id=atsolr.sale_order_line_id
and atsolr.account_tax_id=at.id
and solt.order_id = %s
group by at.name"""



i can sue the result for the requette in sale.order.view

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/12/16, 2:45 AM
Seen: 264 times
Last updated: 1/12/16, 3:06 AM