[NEW] hr_timesheet_import_from_calendar
This commit is contained in:
1
hr_timesheet_import_from_calendar/models/__init__.py
Normal file
1
hr_timesheet_import_from_calendar/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import hr_timesheet
|
14
hr_timesheet_import_from_calendar/models/hr_timesheet.py
Normal file
14
hr_timesheet_import_from_calendar/models/hr_timesheet.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from collections import defaultdict
|
||||
from lxml import etree
|
||||
import re
|
||||
|
||||
from odoo import api, Command, fields, models, _, _lt
|
||||
from odoo.exceptions import UserError, AccessError, ValidationError
|
||||
from odoo.osv import expression
|
||||
|
||||
class AccountAnalyticLine(models.Model):
|
||||
_inherit = 'account.analytic.line'
|
||||
|
||||
calendar_event_origin_id = fields.Many2one('calendar.event')
|
Reference in New Issue
Block a user