Merge pull request #2889 from expsa/Esraa-Ensan-Mobile-tasks
attendance aone in employee
This commit is contained in:
commit
99ca6a0d48
|
|
@ -24,6 +24,8 @@ class HrEmployee(models.Model):
|
|||
message_sent = fields.Boolean(string="Message Sent", default=False)
|
||||
# Used internally by the API
|
||||
last_active_time = fields.Datetime(readonly=True)
|
||||
attendance_zone_id = fields.Many2many('attendance.zone', string='Attendance Zone')
|
||||
|
||||
|
||||
|
||||
def user_push_notification(self, notification):
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@
|
|||
<field name="device_id"/>
|
||||
<field name="fcm_token"/>
|
||||
</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>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue