Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3230 Представления

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.

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

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

Related Posts Ответы Просмотры Активность
1
июл. 18
14222
2
авг. 25
2725
1
июл. 25
1090
1
авг. 25
1151
0
мая 25
1518