Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Studio (web_studio)
• Discuss (mail) |
Lines of code | 119 |
Technical Name |
remove_studio_field |
License | OPL-1 |
Website | https://www.cybrosys.com |
Versions | 14.0 15.0 16.0 17.0 18.0 |

Remove Studio Fields
This module helps to remove the fields which are added using the Odoo Studio. The fields have to be removed from the views before deleting them. If any of the fields selected for deletion is present in any view, the names of the views will be displayed. The name can be used to search the view and remove the field from the corresponding view.

Explore this module
Overview
This module crafted by Cybrosys Technologies provides an option to delete the fields which are added using Odoo Studio. Removing those fields are always a headache since sometimes there will be multiple fields created in different models on adding new field in one model. For e.g, if we add a field in the Invoice from Studio, a custom field will be added in the 'account.move' model and another base fields will be added in the models 'account.payment' and 'account.bank.statement.line' with the same field name (By default, we are not able to delete the base fields in Odoo). This module makes the life easier for those who use Odoo Studio for customizations as it helps to delete all the fields(both custom fields and base fields) added using Studio.
Configuration
Add the users to the new security group(Remove Studio Fields: Administrator) to give access to the new menu item.

Features

New menu
New menu: Remove Studio Fields to access the new wizard.

New wizard
Select and remove fields using the new wizard.
Screenshots
New menu
Enable debug mode to see the new menu; Technical -> Database Structure -> Remove Studio Fields to access the new wizard.

Select Studio fields for delete
In the wizard, you can select the fields which are added using Studio.

More fields can be selected from the tree view
Click on 'Search More...' from the dropdown to open the tree view to select more fields. As we can have multiple fields with same name as mentioned in the Overview, it is recommended to select all those fields together(the one which is added through Studio and the other fields created automatically).

Delete field: Lose data
Once you delete a field, you will lose the data stored with that field. So, ensure that you don't need the data anymore. Else, backup or store the data before deleting the fields. Click on the button 'REMOVE FIELDS' to delete the selected fields.

Check the views
If we delete the fields which are added in any view, we cannot access those views. So, we have to remove the fields from the view before deleting. This module makes this step easier. It checks the views first and return the list of fields and the views in which the fields are used. Then, we can either open the corresponding view through Studio, select the field in the view, and click on the button 'REMOVE FROM VIEW', or we can navigate to Settings/ Technical/ User Interface/ Views, search for the view and edit the XML code to remove the field from the view.

Notification
If we don't have the fields in any views or if we already removed the fields from the views, then a notification will be displayed after deleting the fields.

Suggested Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Need Help?

Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module