تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6832 أدوات العرض

Hi, 

While validating the invoice I am getting above error. could anyone help me to solve the this in odoo 9

Thank you in advance!

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

If you go to Accounting  -> Configuration -> Accounting -> Journals, and open the corresponding journal, and if you open the Advance settings tab, under the control access group, there is two fields Account allowed and Account types allowed

So either you can choose the accounts set here, or change the journal or remove the accounts configured from the journal. Thanks

Thanks

الصورة الرمزية
إهمال
الكاتب

Thanks, Niyas

أفضل إجابة

@niyas Raphy

when i remove accounts i got this error "null value in column "account_id" violates not-null constraint

DETAIL: Failing row contains (1805, Customer Payment, null, null, null, 0.0, 1000.0, null, null, null, null, 0.0, null, null, null, null, null, null, 1935, null, 1936, null, null, f, null, 6, f, 2020-07-19, null, null, null, null, null, 3, null, t, 1, 2020-07-19 08:07:24.26937, 1, 2020-07-19 08:07:24.26937)."

the number 1805 is counting up every secound!!
I am using odoo v12 .

could you please help me 

الصورة الرمزية
إهمال