odoo/odoo#203706
Created by Meet Raval (rame)
Merged
at 4a618605cdbfc4104cca6acd1c94821f3acf95a9
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-hr_holidays-timeoff-type-selection-traceback-rame
- head
- e4ddc4bb657fec1fd3fe520b155db32cb343d03e
- merged
- 7 months ago by Misc, Yannick Tivisse (yti)
| odoo/odoo | |
|---|---|
| master | #203706 |
[FIX] hr_holidays: fix RPC error when changing leave type at leave creation
Steps:
- Try to create a time off and select a leave type.
Issue:
- Fixed a TypeError caused by a missing value in a comparison call.
- The operation expected two values but was given only one.
Fix:
- Updated the condition to include the missing value in the call.
- This resolves the RPC_ERROR that occurred when changing leave types.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr