Commit c4da1bb2 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_payroll_l10n_fr: Auto set effective date on Leave

  If required accountant can change later on.
parent aa2ce701
......@@ -29,6 +29,7 @@ leave_request.newContent(
portal_type="Leave Request Period",
start_date=leave_request.getStartDate(),
stop_date=leave_request.getStopDate(),
effective_date=leave_request.getStopDate(),
resource=leave_request.getResource(),
quantity=quantity
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment