Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1578 Lượt xem

Hello,


I am looking for a way to identify which tables are edited when a Sales Order is created in Odoo. 


I am trying to automatically create a Sales Order via an API in my web app and I want to mimic the same inserts/updates that are performed when I create a Sales Order through Odoo.


I there documentation for the out of the box functionality or perhaps a PGAdmin plugin I could use to track table changes as I create a Sales Order?


Thanks!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Have al ook at Ray's answerer. 

https://www.odoo.com/forum/help-1/how-can-i-see-which-api-calls-are-made-to-learn-what-odoo-is-doing-at-specific-times-183911

If you set the logs to show Debug messages you will be able to see SQL queries. Just be prepared to be flooded with SQL.... :)

Ảnh đại diện
Huỷ bỏ