Odoo 19 overtime rules for Vietnam: 150%, 200% and 300% pay
What the Vietnamese Labour Code demands for overtime, what the overtime rules in Odoo 19 can and cannot do, and how one plant turns each attendance scan into work-days.
In short. The Labour Code of Vietnam sets minimum overtime pay of 150%, 200% and 300%. Odoo 19 has overtime rules with pay rates. It has no rule condition for a public holiday, and its Payroll app is in Enterprise only, with no Vietnamese localisation. In our case, the ERP turns each scan into work-days (công) and into overtime at the three rates.
This article has three parts: the law, the Odoo 19 overtime calculation, and the work at one 555-person plant. We are engineers, not lawyers. Check the current text of the law before you set a rule.
What does the law demand?
Article 98 of the Labour Code (No. 45/2019/QH14) sets the minimum rates. Decree 145/2020/NĐ-CP gives the formulas.
| Work | Minimum pay | Where |
|---|---|---|
| Overtime on a normal working day | 150% | Labour Code, Art. 98(1) |
| Overtime on a weekly rest day | 200% | Labour Code, Art. 98(1) |
| Overtime on a public holiday or a paid leave day | 300%, not including the holiday pay of an employee with daily pay | Labour Code, Art. 98(1) |
| Night work, 22:00 to 06:00 | 30% extra | Labour Code, Art. 98(2) and Art. 106 |
| Overtime at night | 20% extra, from the daytime pay of that type of day | Labour Code, Art. 98(3) |
| Night overtime on a normal day | 200%, or 210% after daytime overtime on the same day | Decree 145/2020, Art. 57 |
| Night overtime on a weekly rest day | 270% | Decree 145/2020, Art. 57 |
| Night overtime on a public holiday | 390% | Decree 145/2020, Art. 57 |
The law also sets limits (Labour Code, Art. 107):
- The employee must agree to the overtime.
- Overtime is not more than 50% of the normal hours of a day. Normal hours and overtime together are not more than 12 hours in a day.
- Overtime is not more than 40 hours in a month.
- Overtime is not more than 200 hours in a year. The law permits a maximum of 300 hours for the sectors and cases that it lists.
For piece-rate pay, the same percentages apply to the piece rate of a normal day, for the pieces that the employee makes in overtime.
What does standard Odoo 19 do?
Odoo 19 adds overtime rulesets to the Attendances app. Version 18 has tolerances only.
- A rule starts from a quantity (hours above the schedule, for each day or week) or from a timing (for example, a non-working day or a time window).
- A rule can pay the extra hours at a rate, for example 150%.
- When two rules apply, you select "Maximum Rate" or "Sum of all rates".
- No ruleset comes with the software. You write your own, and you set it on each employee.
We found four limits for a plant in Vietnam:
- No condition for a public holiday. The timing options are a working day, a non-working day, a day when the employee is off, and hours outside a schedule. In our reading, a rule cannot tell a weekly rest day (200%) from a public holiday (300%).
- Night overtime does not add up to the legal rate. In Odoo's own example, 150% and 120% give 170%. In the same way, 150% and a night rule of 130% give 180%. The legal minimum is 200% or 210%.
- Nothing calculates money in Community. The rate stays on the extra-hours record. The Payroll app is in Enterprise only, and Odoo's list of payroll localisations for version 19 does not include Vietnam.
- There is no work-day unit. Attendances stores check-in, check-out, worked hours and extra hours. It has no công and no monthly timesheet grid.
Do a test of these points in your own version before you rely on them.
Standard Odoo 19 and our case, side by side
| Need | Standard Odoo 19 | In our case |
|---|---|---|
| Scans from fingerprint and face terminals | Kiosk with a badge, a PIN or manual selection | 11 terminals send each scan live |
| Work-days (công) | No such unit | The ERP turns scans into công under the Labour Code |
| Overtime at 150% | Yes, with a rule | Yes |
| 200% on a rest day and 300% on a public holiday | No separate condition | Three separate rates |
| Monthly timesheet | No grid | Timesheet as an XLSX file |
| Pay | Payroll is in Enterprise only, with no Vietnamese localisation | Piece-rate labour cost for each worker each month, with an Excel export |
How we did it
- Terminals first. The terminals send each scan to the ERP at once. The first version of this link dates from March 2026.
- A công engine. The ERP turns the scans into công under the Labour Code, with leave and with overtime at 150%, 200% and 300%. The first version dates from July 2026.
- Approvals in the app. Gate passes and dinner overtime get their approval in the app.
- The timesheet as a file. The ERP gives the timesheet as an XLSX file.
- Labour cost each month. The ERP gives the piece-rate labour cost for each worker each month, with an Excel export.
In the 30 days to 18 November 2026, the terminals sent 25,885 scans. The ERP made 13,203 attendance records from them.
Which rules must you settle before any software?
Software cannot make these decisions. Write the answers on one page:
- A shift goes past midnight. Which day gets the hours?
- A person does not scan. Who corrects the record, and who approves the correction?
- A person comes late or leaves early. How do you round the time?
- Who approves overtime: before the work or after it?
- Who monitors the limits of 40 hours a month and 200 hours a year?
When does this not fit?
- Your staff have fixed monthly pay and little overtime. Standard Attendances is sufficient.
- You have a payroll tool that works. Keep it, and send it a file.
- Your rules are not on paper. Write them first. Code cannot repair a rule that nobody can state.
What to send us
- Your list of shifts, with start and end times.
- Your overtime rules on one page.
- The brand, the models and the number of your attendance terminals.
Read next: ZKTeco attendance terminals to Odoo in real time · Case 01: people on the floor · Talk to us
Sources
- Labour Code of Vietnam, No. 45/2019/QH14: Articles 98, 106 and 107.
- Decree No. 145/2020/NĐ-CP: Articles 55 to 57, 60 and 61.
- Odoo 19 documentation: overtime rules in Attendances
- Odoo 19 documentation: payroll localisations
- Odoo 19 documentation: Attendances kiosk
- Hoply.Works, Case 01: numbers from the live system on 18 November 2026.
We read the legal texts in full-text copies, not in the official gazette. Laws change. Read the current official text, or ask a lawyer, before you use these numbers.