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

I want to remove a company from my database, But I couldn't delete it, It's showing  

"" The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Fiscal Position (account.fiscal.position), Constraint: account_fiscal_position_company_id_fkey ""

But there is no invoice and sale orders.

Can anyone help me !!


頭像
捨棄
最佳答案

Hi,

As per the error message, it seems you have some records in the table/model:  account_fiscal_position (account.fiscal.position) having company_id value set to this company.

So clear those records or instead of deleting keep the company archived.

Thanks

頭像
捨棄
作者

Thank you Farsana

相關帖文 回覆 瀏覽次數 活動
1
12月 24
1372
1
11月 23
13728
3
10月 23
9224
1
5月 21
9751
1
5月 20
3912