[FIX] hr_holidays: import used function
Oversight of previous forward-port
This commit is contained in:
@@ -9,7 +9,7 @@ from datetime import timedelta
|
|||||||
|
|
||||||
from odoo import api, fields, models
|
from odoo import api, fields, models
|
||||||
from odoo.exceptions import AccessError, UserError, ValidationError
|
from odoo.exceptions import AccessError, UserError, ValidationError
|
||||||
from odoo.tools import float_compare, float_round
|
from odoo.tools import float_compare
|
||||||
from odoo.tools.translate import _
|
from odoo.tools.translate import _
|
||||||
|
|
||||||
from odoo.addons.resource.models.resource import HOURS_PER_DAY
|
from odoo.addons.resource.models.resource import HOURS_PER_DAY
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import logging
|
|||||||
|
|
||||||
from odoo import api, fields, models
|
from odoo import api, fields, models
|
||||||
from odoo.exceptions import ValidationError
|
from odoo.exceptions import ValidationError
|
||||||
|
from odoo.tools import float_round
|
||||||
from odoo.tools.translate import _
|
from odoo.tools.translate import _
|
||||||
|
|
||||||
_logger = logging.getLogger(__name__)
|
_logger = logging.getLogger(__name__)
|
||||||
|
|||||||
Reference in New Issue
Block a user