# -*- coding: utf-8 -*-
import logging
from odoo import models, fields, api, _
from odoo.exceptions import UserError, ValidationError

_logger = logging.getLogger(__name__)



class AccountMove(models.Model):
    _inherit = "account.move"

    # @api.multi
    # def _post_validate(self):
    #     for move in self:
    #         if move.line_ids:
    #             if not all([x.company_id.id == move.company_id.id for x in move.line_ids]):
    #                 _logger.warning('different companies Transfer out.')
    #     self.assert_balanced()
    #     return self._check_lock_date()


