Community mailing list archives


Re: Error while creating invoice from sales order

OpenERP Master
- 07/01/2015 18:19:11
It says very clearly the error that there is no account specified. There are a lot of nulls which tells me your trying to do something strange. Typically accounts can be set at the product or category level. >From your data though, it looks like possibly you have other problems then just missing an account. I think this problem would only happen if your doing something weird.

On Wed, Jul 1, 2015 at 3:37 PM, Rudi Grosberg <> wrote:
Hi community

Any idea how to solve the below error I am facing while creating invoice from sales order

  File "/opt/odoo/odoo/openerp/", line 234, in execute
    res = self._obj.execute(query, params)
ValueError: "null value in column "account_id" violates not-null constraint
DETAIL: Failing row contains (10, null, null, 0.00, PO00001, 3, null, null, 1, 3, 2015-06-24 18:24:02.754977, 1, null, null, null, 36190, null, none, 2, null, draft, null, in_invoice, null, null, f, null, null, null, null, 2015-06-24 18:24:02.754977, 1, 1, PO00001, null, PO00001, f, null, null).
" while evaluating
Sent from Outlook

Post to: