تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3129 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 18
14119
2
أغسطس 25
2298
1
يوليو 25
825
1
أغسطس 25
1150
0
مايو 25
1276