attendance aone in employee
This commit is contained in:
parent
ef63d46610
commit
c5fa53ca9d
|
|
@ -24,6 +24,8 @@ class HrEmployee(models.Model):
|
||||||
message_sent = fields.Boolean(string="Message Sent", default=False)
|
message_sent = fields.Boolean(string="Message Sent", default=False)
|
||||||
# Used internally by the API
|
# Used internally by the API
|
||||||
last_active_time = fields.Datetime(readonly=True)
|
last_active_time = fields.Datetime(readonly=True)
|
||||||
|
attendance_zone_id = fields.Many2many('attendance.zone', string='Attendance Zone')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def user_push_notification(self, notification):
|
def user_push_notification(self, notification):
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,11 @@
|
||||||
<field name="device_id"/>
|
<field name="device_id"/>
|
||||||
<field name="fcm_token"/>
|
<field name="fcm_token"/>
|
||||||
</field>
|
</field>
|
||||||
|
<xpath expr="//page[@name='hr_settings']/group/group[2]//field[@name='resource_calendar_id']" position="before">
|
||||||
|
<field name="attendance_zone_id" widget="many2many_tags"/>
|
||||||
|
|
||||||
|
</xpath>
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue