Understanding the contacts data model
Resource models carry the res.
prefix on their technical identifiers (IDs). They hold Odoo's basic master data, such as users, companies, and currencies.
A central model for Odoo is the Partner model, also called Contact, with a technical name of res.partner
. It is used anywhere an address, person, or organization needs to be represented. Examples are customers, suppliers, contact persons, invoicing or shipping addresses, employees, and applicants. It is also used to complement the contact data for users and configured companies.
While the res.partner
model is provided by the Odoo base module and requires no specific app to be installed, to have the corresponding menus available, the Contacts app needs to be installed. These are the relevant Contact related models:
- Bank, or
res.bank
, holds bank identification data, as it turns out to be hard to do business without having a bank involved somehow. Bank data can be browsed from...