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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2475
Views
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 18
|
13437 | ||
|
2
Nov 24
|
262 | ||
|
1
Oct 24
|
327 | ||
|
4
Oct 24
|
321 | ||
Connect Odoo with unopim
Solved
|
|
2
Oct 24
|
358 |