oca-ocb-accounting/odoo-bringout-oca-ocb-account_reconcile_oca/account_reconcile_oca/hooks.py
2025-10-25 10:34:41 +02:00

8 lines
187 B
Python

def post_init_hook(cr, registry):
cr.execute(
"""
UPDATE account_bank_statement_line
SET reconcile_mode = 'edit'
WHERE is_reconciled
"""
)