Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Can you automate time sheet deductions?

Subscribe

Get notified when there's activity on this post

This question has been flagged
hrtimesheet
2 Replies
1431 Views
Avatar
Jade Bouldin

My organization is loose with lunch breaks and doesn't require employees to clock in and out for lunch. currently HR is manually deducting 30 minutes from employees who work 8 hours in a day. Is there a way to simplify this operation so the deduction happens automatically?

0
Avatar
Discard
Avatar
Abdallah Mahmoud
Best Answer

Yes, there’s a way to make this easier so HR doesn’t have to manually deduct 30 minutes for lunch every day. Odoo can handle this automatically depending on how your setup is built. Here are a few ways to do it:

1. If you’re using fixed working hours (working schedule)

One of the easiest ways is to include the lunch break in the employee’s working schedule. You can do this by going to:


Employees > Configuration > Working Time

There, open the working schedule you use (like “Standard 8 Hours”) and split the working hours to include the lunch break. For example:

  • 08:00 to 12:00
  • 12:30 to 16:30

This setup automatically deducts 30 minutes from the total hours per day, without requiring employees to clock in or out for lunch. Odoo simply counts the working blocks.

This works really well if you’re also using Payroll or want consistent reporting.

2. If you’re using the Attendance module (clock in/out)

If your team clocks in and out using the Attendance app but doesn’t log lunch breaks, you can still automate the 30-minute deduction.

You have two ways to do this:

a. With Odoo Studio (Enterprise):

You can create a new computed field that calculates “Net Working Hours” by subtracting 0.5 hours when the total hours exceed a certain amount, like 6 hours.

Example:


if rec.worked_hours > 6: rec.net_hours = rec.worked_hours - 0.5 else: rec.net_hours = rec.worked_hours

b. With a custom module (Community or advanced logic):

If you're not using Studio or need more control, a developer can create a small module to handle the same logic automatically during attendance calculations.

3. If you’re using Timesheets

If your company works mainly through Timesheets, you can set up a rule where if someone logs more than 8 hours in a day, 30 minutes are deducted automatically or flagged for review. But this is more manual unless customized.

0
Avatar
Discard
Jade Bouldin
Author

Thank you for the through answer.

My company want's to do it through fixed working hours, but is partially using all three in various ways. The the attendance module activated and is only partially using it along with timesheets. It appears the lunch breaks are already in the default working schedule, but it isn't being used much by the system.

Am I correct in my assumption that this is due to the attendance module being active and prioritized over the working schedule?

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,


You can set the employee's working time as follows.


Go to the employee working schedule.

Add the employee schedule as follows.


Hope it helps


0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to make timesheet creation monthly in odoo 8 Solved
hr timesheet odoo8.0
Avatar
Avatar
1
Nov 16
4211
Inherit department_id in 'Timesheet Activities' from Timesheet filled in by employee.
hr views timesheet
Avatar
Avatar
1
Jul 15
3849
timesheet from-to entry
hr v7 timesheet
Avatar
Avatar
1
Mar 15
5126
How to make only selected tasks deduct hours from a fixed-hour support project in Odoo
timesheet
Avatar
0
Nov 25
119
Attendance Analysis – How to calculate Extra Hours with flexible start times
hr
Avatar
Avatar
2
Oct 25
651
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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