Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

in Odoo 18.0, where do i set the default Accounts Receivable/Payable accounts?

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer

The configuration you're looking for can be found in the User-defined Defaults. To modify these entries you will first need to enable the Developer mode (https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html) and then navigate to Settings -> Technical --> Actions -> User-defined Defaults.

In here you will find records that pre-define the values (Default Value (JSON format)) of certain fields in Odoo - two of these fields happens to be Account Receivable (Contact) and Account Payable (Contact). You may find multiple records for these field in a multi-company setup, so ensure you modify the ones relevant to you (or create additional records for specific companies if needed). 

Now, since this is a generic view, you can not simply select the record you want for Default Value (JSON format). Instead, you need to find the ID (not the (numeric) Code!) of the Account you want to have assigned to new Customers by default. To do so, open the form view of that Account (i.e. Accounting (or Invoicing) -> Configuration --> Accounting -> Chart of Accounts and click the View link at the relevant line. Your browser will redirect you to a page similar to this: https://your-odoo-domain.odoo.com/odoo/action-266/241. Here, the last numeric value, 241 in this example, is what you want to set as a Default Value (JSON format) to the User-defined Defaults record.



Note: Already existing Customers need to be modified manually (or by doing an update-import).

3 Comments
Avatar
Discard
Avatar
odoo
-

Superstar! Thanks so much Christoph. This is really helpful. I assume that for each of my 4 companies, I will have to do this same exercise correct? If i delete the company from Accounts receivable (contact) and assign the id as you note, will it apply to all companies?

Thanks again! I was starting to get apoplectic about this ;-)

Avatar
odoo
-

Correct, User-defined Defaults can be set as a global configuration (no Company and no User selected), as a Company-specific default (when you just set the Company), or even as a User-specific default (by setting that field).

Avatar
odoo
-

Awesome! Thanks so much. Totally saved my evening!