コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4000 ビュー

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
1331
1
11月 23
13659
3
10月 23
9165
1
5月 21
9717
1
5月 20
3888