跳至內容
選單
此問題已被標幟
3 回覆
6835 瀏覽次數

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 

頭像
捨棄