Commits on Source (4)
-
Emanuel Buzey authored
In this commit, I have implemented the following developments in the 'electric_distribution' module: 1. Created a new model for electric distribution company. 2. Added a menu with corresponding form and tree views. These views are now only visible to users with admin or platform-level access rights in the Settings section. 3. Implemented the standard Odoo import functionality to allow users to import a list of electric distribution companies efficiently. 4. The new companies, are added without removing any existing data. This ensures data continuity and prevents data loss. 5. The form view of the model, include all the fields required by the CNMC list.
-
Emanuel Buzey authored
-
Emanuel Buzey authored
-
Emanuel Buzey authored
Showing
- energy_project/__manifest__.py 2 additions, 0 deletionsenergy_project/__manifest__.py
- energy_project/models/__init__.py 1 addition, 0 deletionsenergy_project/models/__init__.py
- energy_project/models/distributor.py 35 additions, 0 deletionsenergy_project/models/distributor.py
- energy_project/security/ir.model.access.csv 1 addition, 0 deletionsenergy_project/security/ir.model.access.csv
- energy_project/views/distributor_views.xml 55 additions, 0 deletionsenergy_project/views/distributor_views.xml
- energy_project/views/res_config_settings_extension.xml 30 additions, 0 deletionsenergy_project/views/res_config_settings_extension.xml
energy_project/models/distributor.py
0 → 100644
energy_project/views/distributor_views.xml
0 → 100644