Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
6838 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks, Niyas

Câu trả lời hay nhất

@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 

Ảnh đại diện
Huỷ bỏ