[NEW] hr_timesheet_import_from_calendar

This commit is contained in:
clementthomas
2024-12-16 14:05:05 +01:00
parent 091fefc763
commit fd45cf17a2
9 changed files with 207 additions and 0 deletions

View File

@@ -0,0 +1 @@
from . import hr_timesheet

View 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')