mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
m
This commit is contained in:
parent
78e9d2b2af
commit
c36dc83e77
11
payroll.py
11
payroll.py
|
@ -102,7 +102,8 @@ class Payroll(metaclass=PoolMeta):
|
|||
table = cls.__table__()
|
||||
cls._error_messages.update({
|
||||
'period_without_contract': ('The period selected without contract'
|
||||
' for the employee!'),
|
||||
' for the employee!'),
|
||||
'error_report': ('Error %s !'),
|
||||
}
|
||||
)
|
||||
# cls._sql_constraints += [
|
||||
|
@ -1864,14 +1865,6 @@ class PayrollExportStart(ModelView):
|
|||
def default_company():
|
||||
return Transaction().context.get('company')
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(PayrollExportStart, cls).__setup__()
|
||||
cls._error_messages.update({
|
||||
'error_report': ('Error %s !'),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
class PayrollExport(Wizard):
|
||||
'Payroll Export'
|
||||
|
|
Loading…
Reference in a new issue