Files
bank-payment/account_payment_order/__init__.py
Danny W. Adair 60a7abac56 Add pre_init_hook to add computed column
Add partner_bank_id column to avoid MemoryError on an existing Odoo
instance with lots of data.

partner_bank_id on account.move.line requires payment_order_ok to be True
which it won't be as it's newly introduced - again nothing to compute.
(see AccountMoveLine._compute_partner_bank_id() in models/account_move_line.py)
2023-03-04 19:44:00 +01:00

5 lines
96 B
Python

from .hooks import pre_init_hook
from . import models
from . import report
from . import wizard