Odoo Help


Where is tax amount for pos order line?

on 5/8/15, 4:33 AM 993 views

Which table in the database  is keeping the tax amount for pos order line in odoo?



there is one field "amount_tax" is define into "pos.order" model. But that field is not stored into any of the table because it is calculative field and not stored into database. 

In Odoo fields.function without "store" parameter never become a field of any table.

I hope that it is helpful to you.

On 5/8/15, 5:28 AM

Hi jc,

The table is pos.order.
You can find the table and field name by activating the technical features and hovering over the field. It shows the model and fieldname then.

Yenthe, I can find that at database structure model in odoo but when I use pgadmin to view the table in the database, it did not show tax amount, do you know the reason? is there a way I can use sql to retrieve the tax amount?

on 5/8/15, 6:18 AM

The field amount_tax is in the table pos.order, I can see it in the Odoo interface so the field has to be in the psql database too. Why would you use SQL when you can use the Odoo api to get the data field?

on 5/8/15, 7:21 AM

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.


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)


Asked: 5/8/15, 4:33 AM
Seen: 993 times
Last updated: 5/14/15, 9:25 AM