Skip to content

Commit

Permalink
[FIX] portal_backend, portal_holidays, portal_timesheet: migration fixs
Browse files Browse the repository at this point in the history
closes #125

Signed-off-by: Bruno Zanotti <bz@adhoc.com.ar>
  • Loading branch information
vib-adhoc committed Aug 9, 2023
1 parent b102c1e commit 4a56295
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 1 deletion.
2 changes: 1 addition & 1 deletion portal_backend/demo/res_users_demo.xml
Expand Up @@ -8,7 +8,7 @@
<field name="street">41 Lakes Street</field>
<field name="city">Rosario</field>
<field name="zip">2000</field>
<field name='country_id' ref='base.us'/>
<field name='country_id' ref='base.ar'/>
<field name='state_id' ref='base.state_ar_s'/>
<field name="phone">+54 555-555-5555</field>
<field name="email">portaladvanced@yourcompany.example.com</field>
Expand Down
1 change: 1 addition & 0 deletions portal_holidays/security/ir.model.access.csv
Expand Up @@ -3,6 +3,7 @@ portal_holiday_user_allocation,portal-holiday-model_hr_leave_allocation,hr_holid
portal_holiday_user_holidays,portal-holiday-model_hr_leave,hr_holidays.model_hr_leave,group_portal_backend_holiday,1,1,1,0
portal_holiday_calendar_attendee,portal-holiday-model_calendar_attendee,calendar.model_calendar_attendee,group_portal_backend_holiday,1,1,1,0
portal_holiday_calendar_event,portal-holiday-model_calendar_event,calendar.model_calendar_event,group_portal_backend_holiday,1,1,1,0
portal_holiday_hr_department,portal-holiday-model_hr_department,hr.model_hr_department,group_portal_backend_holiday,1,0,0,0
portal_holiday_hr_employee_public,portal-holiday-model_hr_employee_public,hr.model_hr_employee_public,group_portal_backend_holiday,1,0,0,0
portal_holiday_hr_leave_type,portal-holiday-model_hr_leave_type,hr_holidays.model_hr_leave_type,group_portal_backend_holiday,1,0,0,0
portal_holiday_hr_leave_stress_day,portal-holiday-model_hr_leave_stress_day,hr_holidays.model_hr_leave_stress_day,group_portal_backend_holiday,1,0,0,0
Expand Down
64 changes: 64 additions & 0 deletions portal_timesheet_attendance/README.rst
@@ -0,0 +1,64 @@
.. |company| replace:: ADHOC SA

.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
:alt: ADHOC SA
:target: https://www.adhoc.com.ar

.. |icon| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-icon.png

.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

===========================
Portal Timesheet Attendance
===========================

This module integrate Portal Timesheet using Attendance.

#. Add a model access right to able portal timesheet users to create timesheet lines.

Installation
============

Only install the module.

Configuration
=============

There is nothing to configure.

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: http://runbot.adhoc.com.ar/

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/ingadhoc/miscellaneous/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

Images
------

* |company| |icon|

Contributors
------------

Maintainer
----------

|company_logo|

This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
4 changes: 4 additions & 0 deletions portal_timesheet_attendance/__init__.py
@@ -0,0 +1,4 @@
##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
42 changes: 42 additions & 0 deletions portal_timesheet_attendance/__manifest__.py
@@ -0,0 +1,42 @@
##############################################################################
#
# Copyright (C) 2019 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# 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/>.
#
##############################################################################
{
'name': 'Portal Timesheet Attendance',
'version': '16.0.1.0.0',
'category': 'Base',
'sequence': 14,
'summary': '',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
'images': [
],
'depends': [
'portal_timesheet',
'hr_timesheet_attendance',
],
'data': [
'security/ir.model.access.csv',
],
'demo': [
],
'installable': True,
'auto_install': True,
}
2 changes: 2 additions & 0 deletions portal_timesheet_attendance/security/ir.model.access.csv
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_attendance,portal_timesheet_hr_attendance,hr_attendance.model_hr_attendance,portal_timesheet.group_portal_backend_timesheet,1,0,0,0

0 comments on commit 4a56295

Please sign in to comment.