Which table in the database is keeping the tax amount for pos order line in odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
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.
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?
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?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 12 17
|
3845 | ||
|
1
thg 7 25
|
2228 | ||
|
4
thg 8 25
|
3564 | ||
|
0
thg 3 25
|
1494 | ||
|
2
thg 1 25
|
2749 |