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