minor fix

This commit is contained in:
Wilson Gomez 2023-04-19 14:15:24 -05:00
parent 4e4efc49e2
commit 393991f5fd
1 changed files with 2 additions and 0 deletions

View File

@ -2480,4 +2480,6 @@ class PayrollTask(ModelSQL, ModelView):
if self.data.get('start_extras') and self.data.get('end_extras'):
values['start_extras'] = self.data.get('start_extras')
values['end_extras'] = self.data.get('end_extras')
if self.data.get('project'):
values['project'] = project
return values