This commit is contained in:
Camilo Sarmiento 2020-08-05 17:08:20 -05:00
parent 78e9d2b2af
commit c36dc83e77

View file

@ -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'