[MOV]Rename golem_ressources module to golem_resource, and apply the same thing of filenames
This commit is contained in:
parent
2c7fb63984
commit
14729e73f1
@ -20,14 +20,14 @@
|
|||||||
'name': 'GOLEM non-profit resources',
|
'name': 'GOLEM non-profit resources',
|
||||||
'summary': 'GOLEM resources management',
|
'summary': 'GOLEM resources management',
|
||||||
'description': ''' GOLEM resources management ''',
|
'description': ''' GOLEM resources management ''',
|
||||||
'version': '10.0.1.1.0',
|
'version': '10.0.1.1.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['product'],
|
'depends': ['product'],
|
||||||
'data': ['views/golem_resources_views.xml',
|
'data': ['views/golem_resource_views.xml',
|
||||||
'views/golem_reservation_views.xml',
|
'views/golem_reservation_views.xml',
|
||||||
'wizard/golem_reservation_rejection_views.xml',
|
'wizard/golem_reservation_rejection_views.xml',
|
||||||
'security/ir.model.access.csv']
|
'security/ir.model.access.csv']
|
@ -16,4 +16,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from . import golem_resources
|
from . import golem_resource
|
@ -23,7 +23,6 @@ from odoo import models, fields, api, _
|
|||||||
from odoo.exceptions import UserError, ValidationError
|
from odoo.exceptions import UserError, ValidationError
|
||||||
|
|
||||||
|
|
||||||
#modèle de base : ressources
|
|
||||||
class GolemResource(models.Model):
|
class GolemResource(models.Model):
|
||||||
""" GOLEM Resource Model """
|
""" GOLEM Resource Model """
|
||||||
_name = 'golem.resource'
|
_name = 'golem.resource'
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@ -116,8 +116,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_resource_menu" name="Resources"
|
<menuitem id="golem_resource_menu" name="Resources"
|
||||||
sequence="55" groups="golem_base.group_golem_user"
|
sequence="55" groups="golem_base.group_golem_user"
|
||||||
web_icon="golem_ressources,static/description/icon.png" />
|
web_icon="golem_resource,static/description/icon.png" />
|
||||||
<menuitem id="resources_list_menu" name="Resources" parent="golem_resource_menu"
|
<menuitem id="resource_list_menu" name="Resources" parent="golem_resource_menu"
|
||||||
action="golem_resource_action" sequence="10" />
|
action="golem_resource_action" sequence="10" />
|
||||||
<menuitem id="resource_configuration_menu" name="Configuration"
|
<menuitem id="resource_configuration_menu" name="Configuration"
|
||||||
parent="golem_resource_menu" groups="golem_base.group_golem_manager"
|
parent="golem_resource_menu" groups="golem_base.group_golem_manager"
|
Loading…
Reference in New Issue
Block a user