Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3139 Prikazi

I need to deactivate a company instead of delete. I tried to add an  `active` field of Boolean type by default of True value in `res.company` model. But when I added this field the companies that I have created earlier disappeared and the companies which I created after adding the Boolean field also not listed in the tree view.

Avatar
Opusti
Best Answer

Hi kabeer,


i am suggesting you to check any field named as active in res.company

if not exist then add as boolean field and set value as False for the company you want

hope it will work for you


thanks and regards

Haresh Kansara

Avatar
Opusti
Avtor

@Haresh i hope i understood my question. I tried you suggested solution. And i already mentioned in my question.

Related Posts Odgovori Prikazi Aktivnost
1
jul. 18
14128
2
avg. 25
2318
1
jul. 25
836
1
avg. 25
1150
0
maj 25
1289