Files
Danny W. Adair ce4281d316 Add pre_init_hook to add computed columns
Add columns to avoid MemoryError on an existing Odoo instance
with lots of data.

payment_order_ok on account.move is computed from payment_order_ok
on account.payment.mode which are both introduced by this module,
so nothing to compute.
(see AccountMove._compute_payment_order_ok() in models/account_move.py)

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-01-20 14:45:31 +13:00

5 lines
96 B
Python

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