I need to restore the "country" field (country_id) by default of the partners form (res.partners.form) that I deleted some time ago. In the exports of people, that field still appears, but it is no longer visible in the form. And I also need to delete a custom field that I created called "Pais2"
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
Hi,
You might have deleted the field from the view either using the custom module or by editing the view from the front end by activating the developer mode. You can understand this by looking at your database.
If you have replaced the field using a custom module, you can uninstall the module. If the field is replaced by editing the view from the front end, activate the developer mode and open the corresponding form and click the debugger button near the logged in users name and click the Edit Form View button and check whether you can see a field named country_id in the architecture or in the inherited views. If field is existing check whether there is a invisible="1" attribute along with the field, if exist change it to invisible="0" .
if you don't want to loose time for searching the above, you can directly add a field to the view by activating the developer mode, see this: Add Field to the View
Thanks
I reviewed the suggestions sent previously, and I could not solve the problem. The problem is that the "country" field (country_id) disappeared from sight. And I added the field "Pais2" that created a column in the database other than "country". The problem is that the "country" field is not in invisible mode within odoo studio. And besides, I'm not allowed to delete the "Pais2" field that I created. In this link is the HTML code of the view.
https://drive.google.com/open?id=1xwz0YyCi7CcD_rOdbY9mt1wZRCBbGkAW
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 | |
---|---|---|---|---|
Remove (studio) custom field
Solved
|
|
1
Mar 23
|
2494 | |
Editing Fields
Solved
|
|
2
Nov 20
|
2427 | |
|
0
Sep 24
|
140 | ||
|
1
Feb 23
|
1987 | ||
|
2
Feb 23
|
904 |