Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4266 Näkymät

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 !!


Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

Thank you Farsana

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
syysk. 25
317
1
jouluk. 24
1545
1
jouluk. 23
14069
3
lokak. 23
9438
1
toukok. 21
9968