minor fix function get_days in staff_payroll_co
This commit is contained in:
parent
6cebbed746
commit
cba4e6fb2d
|
@ -284,7 +284,7 @@ class Payroll(metaclass=PoolMeta):
|
|||
def get_days(self, start, end, wage_adjust_days_worked=None):
|
||||
adjust = 1
|
||||
# adjust_days_worked = False
|
||||
adjust_days_worked = self.contract.position.adjust_days_worked if self.contract else true
|
||||
adjust_days_worked = self.contract.position.adjust_days_worked if self.contract else True
|
||||
# print('this is', adj)
|
||||
# if self.contract and self.contract.position:
|
||||
# adjust_days_worked = self.contract.position.adjust_days_worked
|
||||
|
|
Loading…
Reference in New Issue