In Odoo, database table names typically follow a straightforward convention: they are the underscored (_) version of the model name as seen in the user interface. For example, the sale.order model corresponds to the sale_order table. However, this pattern isn't always consistent. For instance, you might expect the ir.action.server model to map to the ir_action_server table, but the actual table name is ir_act_server.
This subtle naming quirk can be easy to overlook and may cause confusion when working with Odoo's database. I hope sharing this saves you time if you encounter a similar situation!
Top comments (0)