I'm working with Odoo CE 10.0
I have multiple companies
I have created chart of accounts.
I create a sale order.
I create an invoice.
The creation failes:
Cannot find a chart of accounts for this company, You should configure it.
As I already created several charts of account for the company for every possible type in the drop down list, I don't know what causes the model to not be able to read the chart of account. Traceback shows the error happens in:
File "/usr/lib/python2.7/dist-packages/odoo/addons/account/models/account_invoice.py", line 478, in _onchange_partner_id
rec_account = p.property_account_receivable_id
pay_account = p.property_account_payable_id
if not rec_account and not pay_account:
action = self.env.ref('account.action_account_config')
msg = _('Cannot find a chart of accounts for this company, You should configure it. \nPlease go to Account Configuration.').
Guess it's another bug. Any idea how to fix it or any workaround or what I'm doing wrong? Thanks in advance.
Bump!