Odoo Help

0

add a table the resume taxes in a table use sql

By
omar
on 1/12/16, 2:45 AM 433 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

 

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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