跳至内容
Odoo 菜单
  • 登录
  • 免费试用
  • 应用程序
    财务
    • 会计
    • 发票
    • 费用
    • 电子表格 (BI)
    • 文档
    • 电子签名
    销售
    • 客户关系管理
    • 销售
    • POS 销售点管理-零售
    • POS 销售点管理 - 餐厅
    • 订阅
    • 租赁
    网站
    • 网站设计
    • 电子商务
    • 博客
    • 论坛
    • 在线客服
    • 在线学习
    供应链
    • 库存
    • 制造
    • 产品生命周期
    • 采购
    • 维护保养
    • 品控
    人力资源
    • 员工
    • 招聘
    • 休假
    • 评价
    • 内部推荐
    • 车队
    营销
    • 社媒营销
    • 电邮营销
    • 短信营销
    • 近期活动
    • 营销自动化
    • 网上调查
    服务
    • 项目管理
    • 工时单
    • 现场服务
    • 服务台
    • 排期
    • 预约
    生产力
    • 讨论
    • 批核
    • IoT物联网
    • VoIP
    • 知识库
    • WhatsApp
    第三方应用软件 Odoo 定制 Odoo云端平台
  • 行业
    零售
    • 书店
    • 服装店
    • 家具店
    • 食品杂货店
    • 五金店
    • 玩具店
    餐饮与酒店服务
    • 酒吧及酒馆
    • 餐厅
    • 快餐
    • 民宿
    • 饮品分销商
    • 酒店
    房地产
    • 房地产代理
    • 建筑师事务所
    • 建造业
    • 地产管理
    • 园艺
    • 业主协会
    咨询
    • 会计师事务所
    • Odoo合作伙伴
    • 市场推广公司
    • 律师事务所
    • 人才招聘
    • 审核 & 认证
    制造
    • 纺织
    • 金属
    • 家具
    • 食品
    • 啤酒厂
    • 企业礼品
    保健与健身
    • 体育俱乐部
    • 眼镜店
    • 健身中心
    • 健康从业者
    • 药房
    • 发型屋
    商贸服务
    • 维修人员
    • IT 硬件及支持
    • 太阳能系统
    • 鞋匠
    • 清洁服务
    • 暖通空调服务
    其他
    • 非营利组织
    • 环境机构
    • 广告牌租赁
    • 摄影服务
    • 自行车租赁
    • 软件经销商
    浏览所有行业
  • 社区
    学习
    • 教学视频
    • 文档
    • 认证
    • 培训
    • 博客
    • 播客
    赋能教育
    • 教育计划
    • Scale Up! 商业游戏
    • 参观Odoo
    获取软件
    • 下载
    • 版本对比
    • 发布
    合作
    • Github
    • 论坛
    • 近期活动
    • 翻译
    • 成为合作伙伴
    • 合作伙伴服务
    • 注册您的会计事务所
    获取服务
    • 寻找合作伙伴
    • 查找会计服务
    • 预约顾问咨询
    • 安装及推行服务
    • 客户参考
    • 支持
    • 升级
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    获取演示
  • 定价
  • 技术支持

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客户关系管理
  • e-Commerce
  • 会计
  • 库存
  • PoS
  • 项目
  • MRP
All apps
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
帮助

automatically check-in/out or working-hours

订阅

此帖文有活动时,接收通知

此问题已终结
attendance
1 回复
8698 查看
形象
Dennis Schueller

Hey All,

I actually try to configure automatically check-in/check-out our Working Hours.


In my Company some Employees don't have to stamp, so they have a default working Hours (8Hours) every day now I'm looking for a solution to configure it in Odoo.


1. Option automatically Create Check-In and Out on a default Time every Day.

2. Option automatically creat every Day the default Working-Hours.


for Option 1 it could a workaround like 

Check-In at 8 AM -> If no Check-Out on the same Day at a Check-Out automatically.


Thanks for help :)

0
形象
丢弃
形象
David Creus
最佳答案

Hello, this helped me:


Step 1: Install the Modules

  • Log in to your Odoo instance as an administrator.
  • Go to the "Apps" menu and search for the "HR Attendance" and "HR Timesheet" modules.
  • If the modules are not installed, click the "Install" button next to each of them to install them.

Step 2: Configure Schedules and Contracts

  • Navigate to the "Employees" application in Odoo.
  • Ensure that each employee has an associated contract.
  • In the contract settings, define the employee's working schedule, including workdays and working hours.

Step 3: Configure HR Attendance

  • Go to the "HR Attendance" application in Odoo.
  • Set up the method of attendance registration you wish to use (RFID cards, fingerprint scanning, etc.).
  • Ensure that the attendance registration devices are properly configured and connected.

Step 4: HR Timesheet Configuration

  • Access the "HR Timesheet" application in Odoo.
  • Configure the projects and tasks where employees will record their worked hours.
  • Link employees to the relevant projects or tasks.

Step 5: Linking Attendance and Timesheet

  • In the contract settings of each employee, make sure to enable the option to automatically register worked hours from the "HR Attendance" module.

Step 6: Manage Breaks

  • In the working schedule configuration of each employee, define the break times and rests.
  • These configured times will be automatically considered when calculating worked hours and productive times.

Step 7: Review and Analysis

  • Once employees have recorded their attendance and worked hours, you can access reports and analyses within the "HR Timesheet" module to review attendance and worked times for each employee and project.

Keep in mind that the names of options and the location of menus may vary depending on the version of Odoo you are using. If you encounter any difficulties or need more detailed assistance, I recommend consulting Odoo's official documentation or seeking help from the Odoo user community.




1
形象
丢弃
Benjamin Weber

Hi David,
good summary of the necessary steps. I set it up similar, yet without the contracts.

I assigned certain working hours for each employee individually based on the current real work contract, e.g. 8 hours Monday to Friday (40 h/week) or 6 hours Monday to Thursday (24 h/week with Fridays off).

After this the employees entered their attendences every day. Extra hour were calculated and in the time sheets the recorded times were compared to the working hours per day additionally - great so far!

In addition I set up public holiday in the Time Off app. By doing so time sheets were automatically generated for those days with the employees individual working hours for those days. This happens for all public holidays also in advance. If you have entered all public holiday for the upcoming three years, the time sheets will instantly be generated for all those days - also great so far!

The problems started when the working hours of a particular employee are changed, e.g. reduced from initially 40 h/week to now 30 h/week.

Problem 1: The initally generated time sheets for publich holiday will not be updated! They still kepp the old working hours.

Problem 2: In the time sheets the difference between the actually recorded times the new working hours will be applied even for the past!

Problem 3: The extra hours in the past do not seem to be affected in this way. The extra hours are always calcualted based on the acutal recorded attendences and the working hour valid at the time of attendence entries. But if the entries are modified after the change of the working hours, the extra hours for this particular working day will be based on the new working hours.

I am looking for a way, to apply different working times (for time sheets and extra hours) at different time.

I tried to use the payroll and contracts. I generated two contracts for the same employee and set the start and end dates so, that they were after each other (contract 1 from 01.01.2023 - 30.06.2023, contract 2 starting froom 01.07.2023 without end.) But this did not solve the problem.

Is there any way to set Odoo up in way to correctly deal with modified working hours?

David Creus

Hello Benjamin,

Handling modified working hours in Odoo's HR Attendance and HR Timesheet modules can be a bit tricky, but it's certainly possible with some customization and configuration. Here are some suggestions to address the issues you've encountered:

Problem 1: Time Sheets for Public Holidays Not Updated

This issue arises because the time sheets for public holidays are generated in advance based on the employee's initial working hours. To address this problem, you can create a custom module or script that updates the time sheets for public holidays when an employee's working hours change.

Here's a high-level approach:

Create a custom Odoo module or script that listens for changes in an employee's working hours.

When the working hours are modified, trigger an event or action that recalculates and updates the time sheets for upcoming public holidays for that employee. This may involve deleting the old time sheets and generating new ones based on the updated working hours.

You'll need to use Odoo's API to interact with time sheet data and make the necessary updates programmatically.

Problem 2: Retroactive Calculation of Differences

To handle the retroactive calculation of differences between recorded times and new working hours, you may need to implement a similar custom solution as described above. When working hours change, you should have a mechanism in place to recalculate past time sheets based on the working hours applicable at the time of each attendance entry. This will require scripting and Odoo API usage.

Problem 3: Extra Hours Calculation

The calculation of extra hours is based on recorded attendance and the working hours valid at the time of attendance entries. To ensure that extra hours calculations are accurate when working hours change, you'll need to implement logic to recalculate extra hours for past attendance entries based on the historical working hours for each entry.

In summary, addressing these issues may require custom development and scripting within Odoo to ensure that time sheets and extra hours are correctly calculated when working hours change. You'll need to work with Odoo's API and possibly create custom modules to achieve the desired functionality. Depending on the complexity of your requirements, you may also consider consulting with Odoo experts or developers to help implement these customizations effectively.

Answering your final question:

Odoo is a flexible and customizable platform, and you can set it up to handle modified working hours to some extent. While Odoo's standard functionality may not fully address all the complexities of changing working hours, you can use some of its built-in features and additional configurations to make the system work for your needs. Here's how you can set up Odoo to deal with modified working hours:

Use Contracts: As you've mentioned, Odoo's contract feature is designed to manage employee working hours, so make sure to utilize it. When an employee's working hours change, you can update their contract with the new hours.

Contract Start and End Dates: When creating or editing a contract, set the start and end dates accurately to reflect when the new working hours take effect. For example, if an employee's working hours change from January 1, 2023, set the end date of their old contract to December 31, 2022, and the start date of their new contract to January 1, 2023.

Timesheet Entries: Odoo's timesheet entries are linked to contracts. When an employee logs their working hours, the system should consider the contract that is active during that period. So, if an employee logs hours for January 2023, it should use the working hours specified in the contract active at that time.

Regularly Review and Update Contracts: Ensure that HR or relevant personnel regularly review and update contracts as working hour changes occur. This may require a manual process, but it's essential to keep contracts up to date.

Public Holidays: For public holidays, you may need to create and manage contracts that cover these specific dates separately. If an employee's working hours change around public holidays, you can create a contract for the specific period that includes the holiday with the correct working hours.

Communication: Maintain clear communication with employees regarding changes in working hours and contracts. This helps employees understand which contract applies to them during specific periods.

Reporting and Analysis: When analyzing timesheet data or generating reports, ensure that you select the appropriate contract filter to get accurate results for the relevant working hours.

While these steps can help you set up Odoo to handle modified working hours, it's important to note that handling complex scenarios, retroactive calculations, and automated updates of historical data may require custom development or integration with external tools or scripts. Depending on your specific requirements, you may need to work with Odoo developers or consultants to tailor the system to your exact needs.

喜欢讨论吗?不要只阅读,加入进来!

立即创建账户,享受专属功能,与我们的精彩社区互动!

注册
相关帖文 回复 查看 活动
Auto logout not working properly for all employees in odoo18ce
attendance
形象
形象
形象
2
10月 25
690
Sign in/sign out button not showing up for an employee
attendance
形象
形象
1
10月 25
6095
Biometric Attendence Machine
attendance
形象
形象
形象
形象
3
9月 25
2312
Help with ZK Biometric Time Integration (uFace 800) Across Multiple Branches
attendance
形象
形象
形象
2
9月 25
3843
GPS location in Attendance Modul
attendance
形象
形象
形象
2
8月 25
2568
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • Github
  • Runbot
  • 翻译
服务
  • Odoo.sh 托管
  • 支持
  • 升级
  • 自定义开发服务
  • 教育
  • 查找会计服务
  • 寻找合作伙伴
  • 成为合作伙伴
关于我们
  • 我们的公司
  • 品牌资产
  • 联系我们
  • 招聘
  • 近期活动
  • 播客
  • 博客
  • 客户
  • 法律 • 隐私
  • 安全
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo致力于为企业管理提供高效智能的开源解决方案,是全球业内高速成长的软件服务商之一,逾七百五十万用户选择Odoo进行数字化升级。通过一系列全业务链覆盖、高度集成、简单易用的商业应用,助力企业实现信息化改革、降本增效并释放公司增长潜力。

Odoo独特的价值在于是一款非常容易使用又完全集成的应用。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now