Commit e53f59b0 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_l10n_fr: do not set dates for all kind of bonuses in DSN reports

parent 3a5fe122
......@@ -141,8 +141,8 @@ def makeOtherBonusBlock(movement, category):
return {
'code': category,
'quantity': movement.base,
'start_date': movement.getStartDate(),
'stop_date': movement.getStopDate()
'start_date': (movement.getStartDate() if category in ('026', '027', '029') else ''),
'stop_date': (movement.getStopDate() if category in ('026', '027', '029') else ''),
}
for movement in context.PaySheetTransaction_getMovementList():
......
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