跳至内容
菜单
此问题已终结
3 回复
6846 查看

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 

形象
丢弃