[FIX] hr_holidays: import used function

Oversight of previous forward-port
This commit is contained in:
Christophe Simonis
2019-02-20 13:58:03 +01:00
parent f1ff55bca1
commit 2c495502aa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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__)