add demo module and update install instructions
No files matched your search
@@ -0,0 +1,2 @@
|
||||
__pycache__
|
||||
.DS_Store
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"spellright.language": [
|
||||
"en"
|
||||
],
|
||||
"spellright.documentTypes": [
|
||||
"markdown",
|
||||
"latex",
|
||||
"plaintext"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
Odoo Development
|
||||
================
|
||||
|
||||
Setup Odoo development environment with Docker Compose.
|
||||
|
||||
## Usage
|
||||
|
||||
Clone this repository.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/Mint-System/Odoo-Development.git odoo-development
|
||||
cd odoo-development
|
||||
```
|
||||
|
||||
Run docker compose.
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
Create a database and install modules.
|
||||
|
||||
```bash
|
||||
export MODULES=base,project,hr,hr_timesheet,timesheets_by_employee
|
||||
docker exec -it odoo-development_web_1 bin/bash -c "odoo -i $MODULES -c /etc/odoo/odoo.conf -d odoo --stop-after-init --db_host \$HOST -r \$USER -w \$PASSWORD --dev all"
|
||||
docker restart odoo-development_web_1
|
||||
```
|
||||
|
||||
Open browser to [http://localhost:8069](http://localhost:8069) and login with `admin:admin`.
|
||||
|
||||
### Enable developer mode
|
||||
|
||||
Navigate to the [settings page](
|
||||
http://localhost:8069/web?debug=1#id=&action=85&model=res.config.settings&view_type=form&cids=&menu_id=4) and click on *Activate the developer mode (with assets)*.
|
||||
|
||||
### Create module
|
||||
|
||||
Scaffold a new module.
|
||||
|
||||
```bash
|
||||
docker exec -it odoo-development_web_1 bin/bash -c 'odoo scaffold qm_data_system /mnt/extra-addons'
|
||||
```
|
||||
|
||||
Restart doo.
|
||||
|
||||
```bash
|
||||
docker restart odoo-development_web_1
|
||||
```
|
||||
|
||||
### Manage database
|
||||
|
||||
Open database manager [http://localhost:8000/](http://localhost:8000/) and login with `admin@admin.com:admin`.
|
||||
|
||||
Add a new database connection with these credentials:
|
||||
|
||||
```
|
||||
Name: odoo
|
||||
Host: db
|
||||
Username: odoo
|
||||
Password: odoo
|
||||
```
|
||||
|
||||
### Uninstall
|
||||
|
||||
Kill docker containers.
|
||||
|
||||
```bash
|
||||
docker-compose down -v
|
||||
```
|
||||
@@ -0,0 +1,5 @@
|
||||
# TODO
|
||||
|
||||
## App Integration
|
||||
|
||||
- [ ] Integrate third party app https://apps.odoo.com/apps/modules/13.0/timesheets_by_employee/
|
||||
@@ -0,0 +1,43 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--1-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
Timesheets by Employees v13
|
||||
===========================
|
||||
|
||||
This module allows to print the timesheets of selected employee.
|
||||
|
||||
Configuration
|
||||
=============
|
||||
* No additional configurations needed
|
||||
|
||||
Company
|
||||
-------
|
||||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
|
||||
|
||||
Credits
|
||||
-------
|
||||
* Developer: Kavya Raveendran @ cybrosys, Contact: odoo@cybrosys.com
|
||||
Version 13: Vaishnavi B@cybrosys,Contact: odoo@cybrosys.com
|
||||
Contacts
|
||||
--------
|
||||
* Mail Contact : odoo@cybrosys.com
|
||||
* Website : https://cybrosys.com
|
||||
|
||||
Bug Tracker
|
||||
-----------
|
||||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
|
||||
|
||||
Maintainer
|
||||
==========
|
||||
.. image:: https://cybrosys.com/images/logo.png
|
||||
:target: https://cybrosys.com
|
||||
|
||||
This module is maintained by Cybrosys Technologies.
|
||||
|
||||
For support and more information, please visit `Our Website <https://cybrosys.com/>`__
|
||||
|
||||
Further information
|
||||
===================
|
||||
HTML Description: `<static/description/index.html>`__
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
#
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from . import report
|
||||
from . import wizard
|
||||
@@ -0,0 +1,44 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
#
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Timesheet PDF Report',
|
||||
'version': '13.0.1.0.0',
|
||||
"category": "Generic Modules/Human Resources",
|
||||
'sequence': 25,
|
||||
'summary': 'Timesheet PDF Report of Employees',
|
||||
'description': 'Timesheet PDF Report of Employees',
|
||||
'author': 'Cybrosys Techno Solutions',
|
||||
'company': 'Cybrosys Techno Solutions',
|
||||
'maintainer': 'Cybrosys Techno Solutions',
|
||||
'website': 'https://www.cybrosys.com',
|
||||
'depends': ['hr_timesheet'],
|
||||
'data': [
|
||||
'report/report_timesheets.xml',
|
||||
'report/timesheet_pdf.xml',
|
||||
'wizard/timesheet_wizard.xml',
|
||||
],
|
||||
'images': ['static/description/banner.png'],
|
||||
'license': 'LGPL-3',
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'application': False,
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
## Module <timesheet_by_employee>
|
||||
|
||||
#### 25.11.2019
|
||||
#### Version 13.0.1.0.0
|
||||
##### ADD
|
||||
Initial commit for timesheet_by_employee
|
||||
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
#
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from . import report_timesheets
|
||||
@@ -0,0 +1,95 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
#
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from odoo import models, fields, api
|
||||
|
||||
|
||||
class ReportTimesheet(models.AbstractModel):
|
||||
_name = 'report.timesheets_by_employee.report_timesheets'
|
||||
|
||||
def get_timesheets(self, docs):
|
||||
"""input : name of employee and the starting date and ending date
|
||||
output: timesheets by that particular employee within that period and the total duration"""
|
||||
|
||||
if docs.from_date and docs.to_date:
|
||||
rec = self.env['account.analytic.line'].search([('user_id', '=', docs.employee[0].id),
|
||||
('date', '>=', docs.from_date),
|
||||
('date', '<=', docs.to_date)])
|
||||
elif docs.from_date:
|
||||
rec = self.env['account.analytic.line'].search([('user_id', '=', docs.employee[0].id),
|
||||
('date', '>=', docs.from_date)])
|
||||
elif docs.to_date:
|
||||
rec = self.env['account.analytic.line'].search([('user_id', '=', docs.employee[0].id),
|
||||
('date', '<=', docs.to_date)])
|
||||
else:
|
||||
rec = self.env['account.analytic.line'].search([('user_id', '=', docs.employee[0].id)])
|
||||
records = []
|
||||
total = 0
|
||||
for r in rec:
|
||||
vals = {'project': r.project_id.name,
|
||||
'user': r.user_id.partner_id.name,
|
||||
'duration': r.unit_amount,
|
||||
'date': r.date,
|
||||
}
|
||||
total += r.unit_amount
|
||||
records.append(vals)
|
||||
return [records, total]
|
||||
|
||||
@api.model
|
||||
def _get_report_values(self, docids, data=None):
|
||||
"""we are overwriting this function because we need to show values from other models in the report
|
||||
we pass the objects in the docargs dictionary"""
|
||||
docs = self.env['timesheet.wizard'].browse(self.env.context.get('active_id'))
|
||||
identification = []
|
||||
for i in self.env['hr.employee'].search([('user_id', '=', docs.employee[0].id)]):
|
||||
if i:
|
||||
identification.append({'id': i.id, 'name': i.name})
|
||||
timesheets = self.get_timesheets(docs)
|
||||
company_name = self.env['res.company'].search([('name', '=', docs.employee[0].company_id.name)])
|
||||
period = None
|
||||
if docs.from_date and docs.to_date:
|
||||
period = "From " + str(docs.from_date) + " To " + str(docs.to_date)
|
||||
elif docs.from_date:
|
||||
period = "From " + str(docs.from_date)
|
||||
elif docs.from_date:
|
||||
period = " To " + str(docs.to_date)
|
||||
if len(identification) > 1:
|
||||
return {
|
||||
'doc_ids': self.ids,
|
||||
# 'doc_model': self.model,
|
||||
'docs': docs,
|
||||
'timesheets': timesheets[0],
|
||||
'total': timesheets[1],
|
||||
'company': company_name,
|
||||
'identification': identification,
|
||||
'period': period,
|
||||
}
|
||||
else:
|
||||
return {
|
||||
'doc_ids': self.ids,
|
||||
# 'doc_model': self.model,
|
||||
'docs': docs,
|
||||
'timesheets': timesheets[0],
|
||||
'total': timesheets[1],
|
||||
'identification': identification,
|
||||
'company': company_name,
|
||||
'period': period,
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="report_timesheets">
|
||||
<t t-call="web.html_container">
|
||||
<t t-call="web.external_layout">
|
||||
<t t-foreach="docs" t-as="o">
|
||||
<div class="page">
|
||||
<div style="padding-bottom:50px !important;" class="oe_structure"/>
|
||||
<h2 align="center">TimeSheet Report by Employees</h2>
|
||||
<table class="table table-condensed"><tbody>
|
||||
<tr t-if="identification">
|
||||
<th>Employee Name</th>
|
||||
<td colspan="2"><span t-esc="identification[0]['name']"/></td>
|
||||
<th/><td/>
|
||||
<th>Company Name</th> <td><span t-esc="company.name"/></td>
|
||||
</tr>
|
||||
<tr t-if="identification">
|
||||
<th>Timesheet Period</th><td colspan="2"><span t-esc="period"/></td>
|
||||
<th/> <td/>
|
||||
<th>Total Working Hours</th><td><span t-esc="total"/></td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
<table class="table table-condensed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Project</th>
|
||||
<th >Worked Time</th>
|
||||
</tr>
|
||||
<tr t-foreach="timesheets" t-as="t">
|
||||
<td><span t-esc="t['date']"/></td>
|
||||
<td ><span t-esc="t['project']"/></td>
|
||||
<td ><span t-esc="t['duration']"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<report
|
||||
id="action_report_print_timesheets"
|
||||
model="timesheet.wizard"
|
||||
report_type="qweb-pdf"
|
||||
string="Timesheets"
|
||||
name="timesheets_by_employee.report_timesheets"
|
||||
file="timesheets_by_employee.report_timesheets"
|
||||
menu="False"
|
||||
/>
|
||||
</odoo>
|
||||
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1,346 @@
|
||||
<section class="oe_container" style="background-image:url(https://www.cybrosys.com/images/odoo-index-header-banner.png);background-repeat:no-repeat;background-size:100%;padding: 4% 0% 2% 15%;background-position-y: -107px;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="font-size: 35px;color: #fff;font-weight: 900;text-transform: uppercase;text-align: left;margin: 0;margin-bottom: 16px;">
|
||||
Timesheet PDF Report of Employee
|
||||
</h2>
|
||||
<h3 class="oe_slogan" style="font-size: 25px;color: #fff;font-weight: 600;text-align: left;opacity: 1;margin: 0 !important;">
|
||||
Print timesheets of selected employees
|
||||
</h3>
|
||||
<h5 class="oe_slogan" style="text-align: left;background: #fff;width: 293px;padding: 10px;color: #080808 !important;opacity: 1 !important;font-weight: 600;font-size: 20px;">
|
||||
<a style="color: #080808 !important;" href="https://www.cybrosys.com" target="_blank">Cybrosys Technologies</a>
|
||||
</h5>
|
||||
<a style="color: #080808 !important;" href="https://www.cybrosys.com" target="_blank">
|
||||
<div style="width: 215px;margin-left: 57%;text-align: center;background: #ffffff;height: 215px;border-radius: 100%;display: flex;justify-content: center;align-items: center;box-shadow: 0 0 12px 4px #00000059;">
|
||||
<img src="https://www.cybrosys.com/images/cybro-logo-oca.png" alt="cybrosys technologies" style="width: 180px;"/> </div>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="oe_container" style="padding: 1% 0% 3% 15%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;">
|
||||
Overview
|
||||
</h2>
|
||||
<h3 class="oe_slogan" style="text-align: left;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 24px;">
|
||||
This module crafted by Cybrosys Technologies, allows the end user to print the timesheets of selected employee. The module will further group all timesheet lines of selected employee in wizard based on its period.
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;padding: 2% 0% 0% 0%;">
|
||||
Configuration
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style="text-align: left;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 24px;">
|
||||
No additional configuration required.
|
||||
</h3>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="oe_container" style="background-image:url(https://www.cybrosys.com/images/odoo-index-banner1.png); background-repeat:no-repeat; background-size:cover;padding: 5% 0% 10% 15%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;">
|
||||
Features
|
||||
</h2>
|
||||
<h3 class="oe_slogan" style="text-align: left;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 18px;">
|
||||
<img src="https://www.cybrosys.com/images/ico-tick.png">
|
||||
Print the timesheets of selected employees.
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style="text-align: left;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 18px;">
|
||||
<img src="https://www.cybrosys.com/images/ico-tick.png">
|
||||
Perform period wise grouping of timesheet lines.
|
||||
</h3>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;">
|
||||
Screenshots
|
||||
</h2>
|
||||
<h3 class="oe_slogan" style="text-align: left;padding: 5% 0% 0% 0%;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 24px;">
|
||||
<img src="https://www.cybrosys.com/images/ico-tick.png">
|
||||
Timesheets -> Reporting -> Print Timesheets
|
||||
</h3>
|
||||
<div class="oe_row oe_spaced">
|
||||
<img src="timesheet-by-employee-cybrosys-1.png" alt="" style="width: 95%;"/>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="text-align: left;padding: 5% 0% 0% 0%;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 24px;">
|
||||
<img src="https://www.cybrosys.com/images/ico-tick.png">
|
||||
Generate Timesheet Report Wizard with Dates.
|
||||
</h3>
|
||||
<div class="oe_row oe_spaced">
|
||||
<img src="timesheet-by-employee-cybrosys-2.png" alt="" style="width: 95%;"/>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="text-align: left;padding: 5% 0% 0% 0%;font-size: 16px;width: 90%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 24px;">
|
||||
<img src="https://www.cybrosys.com/images/ico-tick.png">
|
||||
PDF Report of Employee Timesheet.
|
||||
</h3>
|
||||
<div class="oe_row oe_spaced">
|
||||
<img src="timesheet-by-employee-cybrosys-3.png" alt="" style="width: 95%;"/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="oe_container" style="padding: 7px 0% 0% 3%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<a style="color: #080808 !important;" href="https://apps.odoo.com/apps/modules/browse?search=cybrosys" target="_blank"><img src="https://www.cybrosys.com/images/view-more-apps.jpg" alt="cybrosys technologies" style="width: 100%;margin-bottom: 50px;"/></a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="oe_container" style="padding: 1% 0% 0% 3%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;">
|
||||
Our Services
|
||||
</h2>
|
||||
<div style="display:flex;padding-top: 20px;justify-content: space-between;">
|
||||
<div style="flex-basis: 18%;">
|
||||
|
||||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-customization.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank">
|
||||
Odoo Customization
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
|
||||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-erp-implementation.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank">
|
||||
Odoo Implementation </a>
|
||||
</h3>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
|
||||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-erp-integration.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank">
|
||||
Odoo Integration
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
|
||||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-erp-support.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank">
|
||||
Odoo Support</a>
|
||||
</h3>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
|
||||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/hire-odoo-developer.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank">
|
||||
Hire Odoo Developers</a>
|
||||
</h3>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="oe_container" style="padding: 1% 0% 0% 3%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan" style="text-align: left;font-size: 28px;font-weight: 600;margin: 0px !important;">
|
||||
Our Industries
|
||||
</h2>
|
||||
<div style="display:flex;justify-content: space-between;flex-wrap:wrap;">
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank">
|
||||
Trading
|
||||
</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Easily procure and sell your products.
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank">
|
||||
Manufacturing</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Plan, track and schedule your operations.
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank">
|
||||
Restaurant</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Run your bar or restaurant methodical.
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank">
|
||||
POS</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Easy configuring and convivial selling.
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank">
|
||||
E-commerce & Website</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Mobile friendly, awe-inspiring product pages.
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank">
|
||||
Hotel Management</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
An all-inclusive hotel management application.
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank">
|
||||
Education</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
A Collaborative platform for educational management.
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div style="flex-basis: 32%;padding-top: 20px;">
|
||||
|
||||
<div style="width:30%; float:left;">
|
||||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank">
|
||||
<img src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:70%;float:left;">
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||
<a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank">
|
||||
Service Management</a>
|
||||
</h3>
|
||||
<h3 class="oe_slogan" style=" text-align: left;font-size: 13px;width: auto;margin: 0;margin-top:5px;color: #000000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;">
|
||||
Keep track of services and invoice accordingly.
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="oe_container" style="background-image:url(https://www.cybrosys.com/images/odoo-index-footer-bg.png); background-repeat:no-repeat; background-size:100%;padding: 13% 0% 6% 0%;">
|
||||
<div class="oe_slogan" style="margin-top:10px !important;margin-bottom: 0px;">
|
||||
<div>
|
||||
<a style="color: #5c5c5c !important;border-radius: 0;background: none;border: none;background: #fff;box-shadow: 0 10px 40px 0 rgba(62,57,107,0.07), 0 2px 9px 0 rgba(62, 57, 107, 0.05);border-radius: 30px;font-size: 12px;padding: 9px 26px;margin-right: 9px;width: 200px;text-transform: capitalize;" class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;" href="mailto:odoo@cybrosys.com"><i class="fa fa-envelope"></i> Email us </a>
|
||||
<a style="color: #5c5c5c !important;border-radius: 0;background: none;border: none;background: #fff;box-shadow: 0 10px 40px 0 rgba(62,57,107,0.07), 0 2px 9px 0 rgba(62, 57, 107, 0.05);border-radius: 30px;font-size: 12px;padding: 9px 26px;margin-right: 9px;width: 200px;text-transform: capitalize;" class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;" href="https://www.cybrosys.com/contact/"><i class="fa fa-phone"></i> Contact Us </a>
|
||||
<a style="color: #5c5c5c !important;border-radius: 0;background: none;border: none;background: #fff;box-shadow: 0 10px 40px 0 rgba(62,57,107,0.07), 0 2px 9px 0 rgba(62, 57, 107, 0.05);border-radius: 30px;font-size: 12px;padding: 9px 26px;margin-right: 9px;width: 200px;text-transform: capitalize;" class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;" href="https://www.cybrosys.com/contact/"><i class="fa fa-check-square"></i> Request Customization </a>
|
||||
</div>
|
||||
<br>
|
||||
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block">
|
||||
<div>
|
||||
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a></td>
|
||||
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a></td>
|
||||
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px; ;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a></td>
|
||||
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a></td>
|
||||
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a></td>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 161 KiB |
@@ -0,0 +1,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
# you can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# It is forbidden to publish, distribute, sublicense, or sell copies
|
||||
# of the Software or modified copies of the Software.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
from . import timesheet_employee
|
||||
@@ -0,0 +1,41 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Cybrosys Technologies Pvt. Ltd.
|
||||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
|
||||
# Author: Kavya Raveendran (odoo@cybrosys.com)
|
||||
#
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
#
|
||||
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class EmployeeTimesheet(models.TransientModel):
|
||||
_name = 'timesheet.wizard'
|
||||
|
||||
employee = fields.Many2one('res.users', string="Employee", required=True)
|
||||
from_date = fields.Date(string="Starting Date")
|
||||
to_date = fields.Date(string="Ending Date")
|
||||
|
||||
def print_timesheet(self):
|
||||
"""Redirects to the report with the values obtained from the wizard
|
||||
'data['form']': name of employee and the date duration"""
|
||||
data = {
|
||||
'start_date': self.from_date,
|
||||
'end_date': self.to_date,
|
||||
'employee': self.employee.id
|
||||
}
|
||||
return self.env.ref('timesheets_by_employee.action_report_print_timesheets').report_action(self, data=data)
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="timesheets_report_view" model="ir.ui.view">
|
||||
<field name="name">timesheet.wizard</field>
|
||||
<field name="model">timesheet.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<group>
|
||||
<group string="Select Employee">
|
||||
<field name="employee"/>
|
||||
</group>
|
||||
<group string="Select Date">
|
||||
<field name="from_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Print Timesheet" name="print_timesheet" type="object" class="btn-primary"/>
|
||||
<button string="Discard" class="btn-default" special="cancel"/>
|
||||
</footer>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_print_timesheet_wizard" model="ir.actions.act_window">
|
||||
<field name="name">timesheet.wizard</field>
|
||||
<field name="res_model">timesheet.wizard</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="timesheets_report_view"/>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
<menuitem name="Print Timesheets" id="print_timesheets" action="action_print_timesheet_wizard" parent="hr_timesheet.menu_timesheets_reports"/>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
[options]
|
||||
addons_path = /mnt/extra-addons
|
||||
data_dir = /var/lib/odoo
|
||||
; admin_passwd = admin
|
||||
; csv_internal_sep = ,
|
||||
; db_maxconn = 64
|
||||
; db_name = False
|
||||
; db_template = template1
|
||||
; dbfilter = .*
|
||||
; debug_mode = False
|
||||
; email_from = False
|
||||
; limit_memory_hard = 2684354560
|
||||
; limit_memory_soft = 2147483648
|
||||
; limit_request = 8192
|
||||
; limit_time_cpu = 60
|
||||
; limit_time_real = 120
|
||||
; list_db = True
|
||||
; log_db = False
|
||||
; log_handler = [':INFO']
|
||||
; log_level = info
|
||||
; logfile = None
|
||||
; longpolling_port = 8072
|
||||
; max_cron_threads = 2
|
||||
; osv_memory_age_limit = 1.0
|
||||
; osv_memory_count_limit = False
|
||||
; smtp_password = False
|
||||
; smtp_port = 25
|
||||
; smtp_server = localhost
|
||||
; smtp_ssl = False
|
||||
; smtp_user = False
|
||||
; workers = 0
|
||||
; xmlrpc = True
|
||||
; xmlrpc_interface =
|
||||
; xmlrpc_port = 8069
|
||||
; xmlrpcs = True
|
||||
; xmlrpcs_interface =
|
||||
; xmlrpcs_port = 8071
|
||||
@@ -0,0 +1,40 @@
|
||||
version: "3"
|
||||
services:
|
||||
web:
|
||||
image: odoo:13
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- HOST=db
|
||||
- USER=odoo
|
||||
- PASSWORD=odoo
|
||||
ports:
|
||||
- "8069:8069"
|
||||
volumes:
|
||||
- odoo-web-data:/var/lib/odoo
|
||||
- ./config:/etc/odoo
|
||||
- ./addons:/mnt/extra-addons
|
||||
admin:
|
||||
image: dpage/pgadmin4
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "8000:80"
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: admin@admin.com
|
||||
PGADMIN_DEFAULT_PASSWORD: admin
|
||||
volumes:
|
||||
- odoo-admin-data:/var/lib/pgadmin
|
||||
db:
|
||||
image: postgres:10
|
||||
environment:
|
||||
- POSTGRES_DB=postgres
|
||||
- POSTGRES_PASSWORD=odoo
|
||||
- POSTGRES_USER=odoo
|
||||
- PGDATA=/var/lib/postgresql/data/pgdata
|
||||
volumes:
|
||||
- odoo-db-data:/var/lib/postgresql/data/pgdata
|
||||
volumes:
|
||||
odoo-web-data:
|
||||
odoo-db-data:
|
||||
odoo-admin-data:
|
||||