mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
add field line payroll in event
This commit is contained in:
parent
6b556465a6
commit
8bbbd02942
4
event.py
4
event.py
|
@ -11,10 +11,8 @@ class Event(metaclass=PoolMeta):
|
||||||
'Staff Event'
|
'Staff Event'
|
||||||
__name__ = 'staff.event'
|
__name__ = 'staff.event'
|
||||||
|
|
||||||
line_payroll = fields.Many2One('staff.payroll', 'Line Payroll', states={'readonly': True})
|
line_payroll = fields.Many2One('staff.payroll.line', 'Line Payroll', states={'readonly': True})
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def __setup__(cls):
|
def __setup__(cls):
|
||||||
super(Event, cls).__setup__()
|
super(Event, cls).__setup__()
|
||||||
cls._error_messages.update({
|
|
||||||
})
|
|
||||||
|
|
|
@ -19,8 +19,5 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
expr="/form/field[@name='minimum_salary']" position="after">
|
expr="/form/field[@name='minimum_salary']" position="after">
|
||||||
<label name="template_email_confirm"/>
|
<label name="template_email_confirm"/>
|
||||||
<field name="template_email_confirm"/>
|
<field name="template_email_confirm"/>
|
||||||
<label name="period_payroll"/>
|
|
||||||
<field name="period_payroll"/>
|
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
@ -5,7 +5,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
<xpath
|
<xpath
|
||||||
expr="/form/field[@name='company']" position="after">
|
expr="/form/field[@name='company']" position="after">
|
||||||
<label name="department"/>
|
<label name="department"/>
|
||||||
<newline />
|
<field name="department"/>
|
||||||
|
</xpath>
|
||||||
|
<xpath
|
||||||
|
expr="/form/field[@name='wage_types']" position="before">
|
||||||
<field name="employees" colspan="4"/>
|
<field name="employees" colspan="4"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</data>
|
</data>
|
||||||
|
|
Loading…
Reference in a new issue