Time Evaluation and Pay Codes: Overtime Tiers, Night, Weekend and Holiday Shift Premiums, Flextime
by Viyug Infotech https://viyuginfotech.com$ 97.52

From check-ins to pay codes, every week.
Time evaluation for shift work in Odoo: attendances classified into regular hours, overtime tiers and night, evening, weekend and holiday premiums, with rounding, breaks, flextime balances, weekly approval and a payroll export.
Pay codes Overtime tiers Shift premiums Flextime Payroll CSV
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Before and after
For factories, warehouses, hospitals, retail and every team that works shifts.
Before
- Check-ins exported to a spreadsheet every month
- Night and Sunday hours counted by hand
- Holiday on a Sunday paid twice, or not at all
- Overtime and flextime argued about at payday
After
- Every minute classified into a pay code each night
- Premiums by time window, weekday and holiday
- Exclusive groups: one premium where only one is due
- Approved weeks exported to payroll in one file
What you get
Pay codes
Regular hours, two overtime tiers, flextime balance and premiums on top, each with its rate and the wage type of your payroll.
Night and evening premiums
Time-of-day windows, also past midnight: 22:00-06:00 pays the night premium on exactly the minutes worked in it.
Weekend and holiday premiums
Saturday, Sunday and public holidays from the working schedule; exclusive groups stop a Sunday holiday paying twice.
Overtime tiers
Beyond the scheduled hours of the day or a fixed number of hours, and beyond a weekly limit; first hours at 125%, then 150%.
Rounding and tolerance
Check-in rounded up, check-out rounded down, a few minutes of tolerance, time before the schedule counted or not.
Unpaid breaks
Scheduled gaps worked through are deducted, or a break in the middle of a long day without one.
Flextime balance
Hours above or below the schedule go to a time balance with a cap and a floor; beyond the cap they are paid as overtime.
Weekly sheet
A timeline per day: planned, checked in, and how every minute was classified, with totals per pay code.
Warnings
Missing check-outs, absent days and a balance below the floor, before anyone approves the week.
Weekly approval
Evaluated every night, approved by the attendance officer, locked once approved.
Payroll export
CSV of hours per employee, week and pay code with the payroll codes; weeks are marked as exported.
Multi-company
Profiles per company or per employee, weeks and results limited to the companies of the user.
Workflow walkthrough
Fictional company and employees, demo data shipped with the app.
Pay codes
The codes your payroll understands: regular hours, overtime 125% and 150%, the time balance and the premiums on top. Each has a rate and the payroll wage type to export.

A profile for shift workers
Rounding, tolerance and the unpaid break; overtime beyond the scheduled hours of the day with two tiers; premium rules for holidays, Sundays, Saturdays, night and evening work.

A flextime profile for the office
Hours above or below the schedule go to a time balance with a cap of 20 hours and a floor of minus 10. Beyond the cap the hours are paid as overtime.

The employee gets a profile
Set the profile and an opening time balance on the employee, or leave it empty to use the company default. The smart button shows the current balance.

Company default
In the Attendances settings, choose the profile of every employee without one, with shortcuts to the profiles and pay codes.

Weeks evaluated every night
A nightly job evaluates the current and the previous week of every employee. Warnings and overtime stand out in the list.

Classified time of a week
Every worked minute becomes a line with its pay code: regular hours, overtime and the evening and night premiums on top.

Weekly sheet of a late shift
Planned hours dashed, check-ins as a thin line, the base pay code as a bar and premiums below it. The chips on the right total each day.

Flextime at a glance
An office employee: extra minutes go to the time balance, the absent Thursday is taken from it, and the balance card shows before and after.

Warnings before approval
No attendance on a planned day, a missing check-out or a balance below the floor are listed on the week, so the officer can fix them first.

Hours by pay code
A pivot of all evaluated hours by employee and pay code, for any period, with the usual grouping and export.

Export to payroll
Pick the period: the approved weeks become a CSV with employee, week, payroll code, hours and rate. The weeks are marked as exported.

Setup in 5 steps
Install the app next to Attendances.
Review the pay codes and add your payroll wage types.
Adjust the Standard week profile or create one per group of employees.
Choose the company default in the Attendances settings, or a profile per employee.
Let the nightly evaluation run, approve the weeks, export to payroll.
Comparison
| Feature | This app | Typical alternatives |
|---|---|---|
| Pay codes with payroll wage types | Yes | Rarely |
| Two overtime tiers per day plus a weekly limit | Yes | One rate |
| Night window past midnight, minute exact | Yes | Often per day only |
| Exclusive premium groups (no double holiday + Sunday) | Yes | No |
| Flextime balance with cap and floor | Yes | Rarely |
| Rounding, tolerance and unpaid break rules | Yes | Partly |
| Visual weekly sheet per employee | Yes | List only |
| Weekly approval and payroll CSV | Yes | Partly |
| Works on Community, no Payroll app needed | Yes | Often Enterprise |
Questions
Does it need Enterprise or Payroll?
No. It runs on Odoo Community with Attendances. The export is a CSV for any payroll system.
Where do the planned hours come from?
From the employee's working schedule, and public holidays from the schedule's global time off.
When are weeks evaluated?
Every night for the current and the previous week, and on demand with the Evaluate button. Approved weeks are not recalculated.
Can a minute earn two premiums?
Yes when the rules are in different groups (night and Sunday). Within one exclusive group only the first rule pays.
Who can do what?
Attendance officers evaluate, approve and export weeks. Attendance administrators manage profiles, rules and pay codes.
Does it work with several companies?
Yes. Profiles can belong to a company, each company has its default profile, and weeks follow the employee's company.
Extensions
Attendance apps that work side by side.
Time Evaluation and Pay Codes
Pay codes, overtime tiers, shift premiums, flextime and payroll export, week by week.
You are hereAttendance Sheets and Policies
Monthly attendance sheets with late, early-leave and absence penalties, check-out corrections and approval.
View in the storeNeed a hand?
Questions, or help mapping your pay codes and shift rules? Write to us.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Pay codes, profiles and premium rules
- Overtime tiers, weekly limit and flextime
- Weekly sheet, approval and payroll export
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Employees (hr) • Discuss (mail) |
| Lines of code | 1596 |
| Technical Name |
viyug_time_engine |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module