# ©  2018 Deltatech
# See README.rst file on addons root folder for license details


from . import models


def _set_auto_auto_statement(cr, registry):
    """This post-init-hook will update all existing sale.order.line"""
    cr.execute(
        """
        UPDATE account_journal
        SET auto_statement = True
        WHERE  type  = 'cash';"""
    )
